public enum WatchMode extends Enum<WatchMode>
| Enum Constant and Description |
|---|
both
Build and run images
|
build
Build only images
|
copy
Copy watched artefacts into contaienr
|
none
Neither build nor run
|
run
Run images
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBuild() |
boolean |
isCopy() |
boolean |
isRun() |
static WatchMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WatchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WatchMode copy
public static final WatchMode build
public static final WatchMode run
public static final WatchMode both
public static final WatchMode none
public static WatchMode[] values()
for (WatchMode c : WatchMode.values()) System.out.println(c);
public static WatchMode 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 boolean isRun()
public boolean isBuild()
public boolean isCopy()
Copyright © 2016. All Rights Reserved.