Interface ItemGroupModifier<G extends ItemGroup<I>,I extends TopLevelItem>
- Type Parameters:
G- the type of item group.I- the type of item,
- All Superinterfaces:
ExtensionPoint
- All Known Implementing Classes:
ItemGroupModifier.StandardModifier
@Deprecated
public interface ItemGroupModifier<G extends ItemGroup<I>,I extends TopLevelItem>
extends ExtensionPoint
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classDeprecated.A factory for creatingItemGroupModifierinstances.static final classDeprecated.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Method Summary
-
Method Details
-
getTargetClass
Deprecated.The type of group that this modifier works on.- Returns:
- the type of group that this modifier works on.
-
canAdd
Deprecated.Returnstrueif the target can take the item.- Type Parameters:
II- the type of the item.- Parameters:
target- the target.item- the item.- Returns:
trueif the target can take the item.
-
add
Deprecated.Adds an item to the target.- Type Parameters:
II- the type of the item.- Parameters:
target- the target.item- the item- Returns:
- the item instance within the target, may be the same instance as the passed in parameter or may be a new instance, depending on the target container.
- Throws:
IOException- if the addition could not be completed.
-
remove
Deprecated.Removes an item from the target.- Parameters:
target- the target.item- the item- Throws:
IOException- if the removal could not be completed.
-
DirectlyModifiableTopLevelItemGroupinstead.