Enum NodeErrorStateType

  • All Implemented Interfaces:
    Serializable, Comparable<NodeErrorStateType>

    public enum NodeErrorStateType
    extends Enum<NodeErrorStateType>

    Java class for NodeErrorStateType.

    The following schema fragment specifies the expected content contained within this class.

     <simpleType name="NodeErrorStateType">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="ok"/>
         <enumeration value="duplicateNodeIdOrName"/>
         <enumeration value="nonClusteredNodeWithOthers"/>
         <enumeration value="localConfigurationError"/>
         <enumeration value="localInitializationError"/>
         <enumeration value="nodeRegistrationFailed"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • DUPLICATE_NODE_ID_OR_NAME

        public static final NodeErrorStateType DUPLICATE_NODE_ID_OR_NAME
        More nodes with the same ID or name (currently ID is the same as name, but in the future they might be different).
      • NON_CLUSTERED_NODE_WITH_OTHERS

        public static final NodeErrorStateType NON_CLUSTERED_NODE_WITH_OTHERS
        A non-clustered node runs along other (clustered or non-clustered) nodes.
      • LOCAL_CONFIGURATION_ERROR

        public static final NodeErrorStateType LOCAL_CONFIGURATION_ERROR
        Local task manager is not configured properly, so it cannot even be started.
      • LOCAL_INITIALIZATION_ERROR

        public static final NodeErrorStateType LOCAL_INITIALIZATION_ERROR
        Other kind of initialization error.
      • NODE_REGISTRATION_FAILED

        public static final NodeErrorStateType NODE_REGISTRATION_FAILED
        It was not possible to register node in repository due to a permanent error.
    • Method Detail

      • values

        public static NodeErrorStateType[] 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 (NodeErrorStateType c : NodeErrorStateType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static NodeErrorStateType valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()