public static enum RelocationHandler.HandlingMode extends Enum<RelocationHandler.HandlingMode>
| Enum Constant and Description |
|---|
DELEGATE
May only delegate to another handler.
|
HANDLE
Can in general handle the actual move.
|
SKIP
Skips this item entirely.
|
| Modifier and Type | Method and Description |
|---|---|
static RelocationHandler.HandlingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelocationHandler.HandlingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelocationHandler.HandlingMode HANDLE
RelocationHandler.handle(hudson.model.Item, hudson.model.ItemGroup<?>, java.util.concurrent.atomic.AtomicReference<hudson.model.Item>, java.util.List<? extends com.cloudbees.hudson.plugins.folder.relocate.RelocationHandler>) and RelocationHandler.validDestinations(hudson.model.Item) may both be called.public static final RelocationHandler.HandlingMode DELEGATE
RelocationHandler.handle(hudson.model.Item, hudson.model.ItemGroup<?>, java.util.concurrent.atomic.AtomicReference<hudson.model.Item>, java.util.List<? extends com.cloudbees.hudson.plugins.folder.relocate.RelocationHandler>) may be called, but not RelocationHandler.validDestinations(hudson.model.Item).public static final RelocationHandler.HandlingMode SKIP
RelocationHandler.handle(hudson.model.Item, hudson.model.ItemGroup<?>, java.util.concurrent.atomic.AtomicReference<hudson.model.Item>, java.util.List<? extends com.cloudbees.hudson.plugins.folder.relocate.RelocationHandler>) nor RelocationHandler.validDestinations(hudson.model.Item) should be called.public static RelocationHandler.HandlingMode[] values()
for (RelocationHandler.HandlingMode c : RelocationHandler.HandlingMode.values()) System.out.println(c);
public static RelocationHandler.HandlingMode 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 © 2016. All rights reserved.