Enum RelocationHandler.HandlingMode
java.lang.Object
java.lang.Enum<RelocationHandler.HandlingMode>
com.cloudbees.hudson.plugins.folder.relocate.RelocationHandler.HandlingMode
- All Implemented Interfaces:
Serializable
,Comparable<RelocationHandler.HandlingMode>
- Enclosing class:
- RelocationHandler
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns 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.
-
Enum Constant Details
-
HANDLE
Can in general handle the actual move.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>)
andRelocationHandler.validDestinations(hudson.model.Item)
may both be called. -
DELEGATE
May only delegate to another handler.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 notRelocationHandler.validDestinations(hudson.model.Item)
. -
SKIP
Skips this item entirely. NeitherRelocationHandler.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>)
norRelocationHandler.validDestinations(hudson.model.Item)
should be called.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-