public static enum Svc.PullStrategy extends Enum<Svc.PullStrategy>
| Enum Constant and Description |
|---|
ALWAYS
pull the image always, even when one is found locally.
|
IF_ABSENT
pull the image only if it is not found locally.
|
| Modifier and Type | Method and Description |
|---|---|
static Svc.PullStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Svc.PullStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Svc.PullStrategy ALWAYS
public static final Svc.PullStrategy IF_ABSENT
public static Svc.PullStrategy[] values()
for (Svc.PullStrategy c : Svc.PullStrategy.values()) System.out.println(c);
public static Svc.PullStrategy 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 nullCopyright © 2021. All rights reserved.