Class ItemGroupModifier.Factory
- java.lang.Object
-
- com.cloudbees.hudson.plugins.folder.relocate.ItemGroupModifier.Factory
-
- Enclosing interface:
- ItemGroupModifier<G extends ItemGroup<I>,I extends TopLevelItem>
public static final class ItemGroupModifier.Factory extends Object
A factory for creatingItemGroupModifier
instances.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <G extends ItemGroup<I>,I extends TopLevelItem>
ItemGroupModifier<G,I>get(Class<G> targetClass)
Returns the most appropriateItemGroupModifier
for the supplied type ofItemGroup
.
-
-
-
Method Detail
-
get
public static <G extends ItemGroup<I>,I extends TopLevelItem> ItemGroupModifier<G,I> get(Class<G> targetClass)
Returns the most appropriateItemGroupModifier
for the supplied type ofItemGroup
.- Type Parameters:
G
- the type of item group.I
- the type of item,- Parameters:
targetClass
- theItemGroup
to get the injector for.- Returns:
- the most appropriate
ItemGroupModifier
for the suppliedItemGroup
ornull
if no injector is available.
-
-