Package nl.lexemmens.podman.enumeration
Enum TlsVerify
- java.lang.Object
-
- java.lang.Enum<TlsVerify>
-
- nl.lexemmens.podman.enumeration.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 Summary
Enum Constants Enum Constant Description FALSEExplicitly sets tlsVerifyt to falseNOT_SPECIFIEDDefault setting.TRUEExplicitly sets tlsVerify to true
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCommand()Returns the corresponding TLS Verification command matching the selected valuestatic TlsVerifyvalueOf(String name)Returns the enum constant of this type with the specified name.static TlsVerify[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 nameNullPointerException- if the argument is null
-
getCommand
public String getCommand()
Returns the corresponding TLS Verification command matching the selected value
When the value is
NOT_SPECIFIEDthis method returns an empty String- Returns:
- The corresponding command.
-
-