Class ItemGroupModifier.Factory
java.lang.Object
com.cloudbees.hudson.plugins.folder.relocate.ItemGroupModifier.Factory
- Enclosing interface:
- ItemGroupModifier<G extends ItemGroup<I>,
I extends TopLevelItem>
A factory for creating
ItemGroupModifier
instances.-
Method Summary
Modifier and TypeMethodDescriptionstatic <G extends ItemGroup<I>,
I extends TopLevelItem>
ItemGroupModifier<G,I> Returns the most appropriateItemGroupModifier
for the supplied type ofItemGroup
.
-
Method Details
-
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.
-