Class ContainerType


  • public class ContainerType
    extends Object
    Types of Containers. There are currently 3 types: Local Installed, Local Embedded and Remote.
    • Field Detail

      • INSTALLED

        public static final ContainerType INSTALLED
        Represents a local installed container type.
      • EMBEDDED

        public static final ContainerType EMBEDDED
        Represents a local embedded container type.
      • REMOTE

        public static final ContainerType REMOTE
        Represents a remote container type.
    • Constructor Detail

      • ContainerType

        public ContainerType​(String type)
        Parameters:
        type - the internal representation of the container type. For example: "installed","embedded" or "remote".
    • Method Detail

      • toType

        public static ContainerType toType​(String typeAsString)
        Transform a type represented as a string into a ContainerType object.
        Parameters:
        typeAsString - the string to transform
        Returns:
        the ContainerType object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getType

        public String getType()
        Returns:
        the container's type as a string
      • isLocal

        public boolean isLocal()
        Returns:
        true if the container type is a local type (installed or embedded)
      • isRemote

        public boolean isRemote()
        Returns:
        true if the container type is a remote type