Enum ErrorInformation.ErrorAction

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      GO_TO_NEXT_LOWER_LEVEL_AND_STOP
      Tells the RunLevelController to halt progress in the level and proceed to the next lowest level and stop the proceeding at that level.
      IGNORE
      Tells the RunLevelController to disregard the error and continue its progress as if the error never happened.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ErrorAction()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ErrorInformation.ErrorAction valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ErrorInformation.ErrorAction[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • GO_TO_NEXT_LOWER_LEVEL_AND_STOP

        public static final ErrorInformation.ErrorAction GO_TO_NEXT_LOWER_LEVEL_AND_STOP
        Tells the RunLevelController to halt progress in the level and proceed to the next lowest level and stop the proceeding at that level. This is the default action when an error is encountered while the system is proceeding upward. The error (or errors) will be thrown by the RunLevelFuture
      • IGNORE

        public static final ErrorInformation.ErrorAction IGNORE
        Tells the RunLevelController to disregard the error and continue its progress as if the error never happened. This is the default action when an error is encountered while the system is proceeding downward. The error (or errors) will NOT be thrown by the RunLevelFuture
    • Constructor Detail

      • ErrorAction

        private ErrorAction()
    • Method Detail

      • values

        public static ErrorInformation.ErrorAction[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ErrorInformation.ErrorAction c : ErrorInformation.ErrorAction.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ErrorInformation.ErrorAction valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null