Enum VariableType

    • Enum Constant Detail

      • GLOBAL

        public static final VariableType GLOBAL
        Global variable
      • JOB

        @Deprecated
        public static final VariableType JOB
        Deprecated.
        job variables are not supported
        Job variable: not supported, value not removed so that int values of this enum are the same.
      • MANUAL

        public static final VariableType MANUAL
        Manually defined variable
      • CUSTOM

        public static final VariableType CUSTOM
        Automatically defined variable
      • SYSTEM

        public static final VariableType SYSTEM
        System (environment) variable
      • ENVIRONMENT

        public static final VariableType ENVIRONMENT
        Variable for Deployment Environment
      • VERSION

        public static final VariableType VERSION
        Variable for Deployment Version
      • RESULT

        public static final VariableType RESULT
        Variable defined at build runtime, i.e. injected by a task.
        Since:
        5.7
    • Method Detail

      • values

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

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