Enum DirectoryEnv

  • All Implemented Interfaces:
    Serializable, Comparable<DirectoryEnv>

    public enum DirectoryEnv
    extends Enum<DirectoryEnv>
    Represents a deployment environment for a particular class of the Enterprise Directory. All directory classes have the following environments:
    • Local - For testing docker image.
    • Development - For rough testing.
    • Pre-production - A staging environment to test new, refined versions on their way to production.
    • Production - The live, production environment.
    Author:
    Middleware Services
    • Enum Constant Detail

      • LOCAL

        public static final DirectoryEnv LOCAL
        Local integration test environment
      • DEV

        public static final DirectoryEnv DEV
        Development environment.
      • PPRD

        public static final DirectoryEnv PPRD
        Pre-prod environment.
      • PROD

        public static final DirectoryEnv PROD
        Production environment.
    • Method Detail

      • values

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

        public static DirectoryEnv 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