public enum DockerImagePullStrategy extends Enum<DockerImagePullStrategy>
| Enum Constant and Description | 
|---|
PULL_ALWAYS  | 
PULL_LATEST  | 
PULL_NEVER  | 
PULL_ONCE  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getDescription()  | 
abstract boolean | 
pullIfExists(String imageName)  | 
abstract boolean | 
pullIfNotExists(String imageName)  | 
static DockerImagePullStrategy | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static DockerImagePullStrategy[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final DockerImagePullStrategy PULL_ALWAYS
public static final DockerImagePullStrategy PULL_ONCE
public static final DockerImagePullStrategy PULL_LATEST
public static final DockerImagePullStrategy PULL_NEVER
public static DockerImagePullStrategy[] values()
for (DockerImagePullStrategy c : DockerImagePullStrategy.values()) System.out.println(c);
public static DockerImagePullStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getDescription()
public abstract boolean pullIfNotExists(String imageName)
public abstract boolean pullIfExists(String imageName)
Copyright © 2016–2020. All rights reserved.