Class PackagerType


  • public class PackagerType
    extends Object
    Types of Packagers. There's currently one type only: "directory".
    • Field Detail

      • DIRECTORY

        public static final PackagerType DIRECTORY
        Represents a directory packager, ie a packager that creates a package in a given directory.
    • Constructor Detail

      • PackagerType

        public PackagerType​(String type)
        Parameters:
        type - the internal representation of the packager type. For example: "directory".
    • Method Detail

      • toType

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

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

        public String getType()
        Returns:
        the packager's type as a string