Enum NodeErrorStatusType

  • All Implemented Interfaces:
    Serializable, Comparable<NodeErrorStatusType>

    public enum NodeErrorStatusType
    extends Enum<NodeErrorStatusType>

    Java class for NodeErrorStatusType.

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

     <simpleType name="NodeErrorStatusType">
       <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 NodeErrorStatusType 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 NodeErrorStatusType NON_CLUSTERED_NODE_WITH_OTHERS
        A non-clustered node runs along other (clustered or non-clustered) nodes.
      • LOCAL_CONFIGURATION_ERROR

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

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

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

      • values

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

        public static NodeErrorStatusType 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()