Enum NodeType

    • Enum Constant Detail

      • tenant

        public static final NodeType tenant
        Node assignable to a tenant to run application workloads
      • host

        public static final NodeType host
        Host of a tenant nodes
      • proxy

        public static final NodeType proxy
        Node serving the shared proxy layer
      • proxyhost

        public static final NodeType proxyhost
        Host of a proxy node
      • config

        public static final NodeType config
        Config server node
      • confighost

        public static final NodeType confighost
        Host of a config server node
      • controller

        public static final NodeType controller
        Controller node
      • controllerhost

        public static final NodeType controllerhost
        Host of a controller node
    • Method Detail

      • values

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

        public static NodeType 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
      • isHost

        public boolean isHost()
      • isConfigServerLike

        public boolean isConfigServerLike()
        either config server or controller
      • isConfigServerHostLike

        public boolean isConfigServerHostLike()
        either config server host or controller host
      • isSharable

        public boolean isSharable()
        Returns whether this supports host sharing
      • description

        public String description()
      • canRun

        public boolean canRun​(NodeType type)
        Returns whether given node type can run on this
      • hostType

        public NodeType hostType()
        Returns the host type of this