Enum Platform

    • Enum Constant Detail

      • IS_AWS_LAMBDA

        public static final Platform IS_AWS_LAMBDA
      • IS_AZURE_FUNCTION

        public static final Platform IS_AZURE_FUNCTION
      • IS_GCE_CLOUD_RUN_SERVICE

        public static final Platform IS_GCE_CLOUD_RUN_SERVICE
      • IS_GCE_CLOUD_RUN_JOB

        public static final Platform IS_GCE_CLOUD_RUN_JOB
      • IS_GITHUB_ACTION

        public static final Platform IS_GITHUB_ACTION
      • IS_EC2_INSTANCE

        public static final Platform IS_EC2_INSTANCE
      • HAS_AWS_IDENTITY

        public static final Platform HAS_AWS_IDENTITY
      • IS_AZURE_VM

        public static final Platform IS_AZURE_VM
      • HAS_AZURE_MANAGED_IDENTITY

        public static final Platform HAS_AZURE_MANAGED_IDENTITY
      • IS_GCE_VM

        public static final Platform IS_GCE_VM
      • HAS_GCP_IDENTITY

        public static final Platform HAS_GCP_IDENTITY
    • Method Detail

      • values

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

        public static Platform 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
      • getValue

        public String getValue()