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
Modifier and TypeInterfaceDescriptionstatic final class
Deprecated.A factory for creatingItemGroupModifier
instances.static final class
Deprecated.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.Returnstrue
if the target can take the item.- Type Parameters:
II
- the type of the item.- Parameters:
target
- the target.item
- the item.- Returns:
true
if 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.
-
DirectlyModifiableTopLevelItemGroup
instead.