DirectlyModifiableTopLevelItemGroup
instead.@Deprecated public interface ItemGroupModifier<G extends hudson.model.ItemGroup<I>,I extends hudson.model.TopLevelItem> extends hudson.ExtensionPoint
Modifier and Type | Interface and Description |
---|---|
static class |
ItemGroupModifier.Factory
Deprecated.
A factory for creating
ItemGroupModifier instances. |
static class |
ItemGroupModifier.StandardModifier
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<II extends I> |
add(G target,
II item)
Deprecated.
Adds an item to the target.
|
<II extends I> |
canAdd(G target,
II item)
Deprecated.
Returns
true if the target can take the item. |
Class<G> |
getTargetClass()
Deprecated.
The type of group that this modifier works on.
|
void |
remove(G target,
I item)
Deprecated.
Removes an item from the target.
|
<II extends I> boolean canAdd(G target, II item)
true
if the target can take the item.II
- the type of the item.target
- the target.item
- the item.true
if the target can take the item.<II extends I> II add(G target, II item) throws IOException
II
- the type of the item.target
- the target.item
- the itemIOException
void remove(G target, I item) throws IOException
target
- the target.item
- the itemIOException
Copyright © 2016–2017. All rights reserved.