Package io.quarkus.deployment.pkg
Enum NativeConfig.ImagePullStrategy
- java.lang.Object
-
- java.lang.Enum<NativeConfig.ImagePullStrategy>
-
- io.quarkus.deployment.pkg.NativeConfig.ImagePullStrategy
-
- All Implemented Interfaces:
Serializable
,Comparable<NativeConfig.ImagePullStrategy>
- Enclosing interface:
- NativeConfig
public static enum NativeConfig.ImagePullStrategy extends Enum<NativeConfig.ImagePullStrategy>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NativeConfig.ImagePullStrategy
valueOf(String name)
Returns the enum constant of this type with the specified name.static NativeConfig.ImagePullStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALWAYS
public static final NativeConfig.ImagePullStrategy ALWAYS
Always pull the most recent image.
-
MISSING
public static final NativeConfig.ImagePullStrategy MISSING
Only pull the image if it's missing locally.
-
NEVER
public static final NativeConfig.ImagePullStrategy NEVER
Never pull any image; fail if the image is missing locally.
-
-
Method Detail
-
values
public static NativeConfig.ImagePullStrategy[] 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 (NativeConfig.ImagePullStrategy c : NativeConfig.ImagePullStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NativeConfig.ImagePullStrategy 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
-
-