Class DeployerType


  • public final class DeployerType
    extends Object
    Type of Deployer. Can be a installed, embedded or remote.
    • Field Detail

      • INSTALLED

        public static final DeployerType INSTALLED
        A deployer type to deploy to an installed local container.
      • REMOTE

        public static final DeployerType REMOTE
        A deployer type to deploy to a remote container.
      • EMBEDDED

        public static final DeployerType EMBEDDED
        A deployer type to deploy to an embedded local container.
    • Method Detail

      • toType

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

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

        public String getType()
        Returns:
        the deployer's type
      • isLocal

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

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