Enum TlsVerify

  • All Implemented Interfaces:
    Serializable, Comparable<TlsVerify>

    public enum TlsVerify
    extends Enum<TlsVerify>

    Enumeration that allows specifying the TlsVerify option to use when bulding, pushing or saving container images.

    Not specifying this explicitly will invoke default behavior (which defaults to true).

    • Enum Constant Detail

      • NOT_SPECIFIED

        public static final TlsVerify NOT_SPECIFIED
        Default setting.
      • TRUE

        public static final TlsVerify TRUE
        Explicitly sets tlsVerify to true
      • FALSE

        public static final TlsVerify FALSE
        Explicitly sets tlsVerifyt to false
    • Method Detail

      • values

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

        public static TlsVerify 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
      • getCommand

        public String getCommand()

        Returns the corresponding TLS Verification command matching the selected value

        When the value is NOT_SPECIFIED this method returns an empty String

        Returns:
        The corresponding command.