Enum BoxType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<BoxType>

    public enum BoxType
    extends java.lang.Enum<BoxType>
    Enum BoxType specifies type of hardware box.
    Semantics:
    Types of hardware boxes
    enum value description
    SINGLE_SYS Single system
    MULTI_SYS Multiple systems
    SINGLE_DISK Single disk system
    MULTI_DISK Multiple disk systems
    SINGLE_FIREWALL Single firewall
    MULTI_FIREWALL Multiple firewalls
    SINGLE_LOADBALANCER Single load balancer
    MULTI_LOADBALANCER Multiple load balancers
    • Enum Constant Detail

      • SINGLE_SYS

        public static final BoxType SINGLE_SYS
      • MULTI_SYS

        public static final BoxType MULTI_SYS
      • SINGLE_DISK

        public static final BoxType SINGLE_DISK
      • MULTI_DISK

        public static final BoxType MULTI_DISK
      • SINGLE_FIREWALL

        public static final BoxType SINGLE_FIREWALL
      • MULTI_FIREWALL

        public static final BoxType MULTI_FIREWALL
      • SINGLE_LOADBALANCER

        public static final BoxType SINGLE_LOADBALANCER
      • MULTI_LOADBALANCER

        public static final BoxType MULTI_LOADBALANCER
    • Method Detail

      • values

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

        public static BoxType 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
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<BoxType>
      • parse

        public static BoxType parse​(java.lang.String s)
        Parse string with box type.
        Parameters:
        s - string with box type
        Returns:
        box type