Package hudson.model
Class TransientComputerActionFactory
- java.lang.Object
-
- hudson.model.TransientComputerActionFactory
-
- All Implemented Interfaces:
ExtensionPoint
public abstract class TransientComputerActionFactory extends Object implements ExtensionPoint
Extension point for inserting transientAction
s toComputer
s.To register your implementation, put
Extension
on your subtype.- Since:
- 1.405
- Author:
- Stephen Connolly
- See Also:
Action
,TransientActionFactory
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description TransientComputerActionFactory()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ExtensionList<TransientComputerActionFactory>
all()
Returns all the registeredTransientComputerActionFactory
s.static List<Action>
createAllFor(Computer target)
CreatesAction
s for a node, using all registeredTransientComputerActionFactory
s.abstract Collection<? extends Action>
createFor(Computer target)
Creates actions for the given computer.
-
-
-
Method Detail
-
createFor
public abstract Collection<? extends Action> createFor(Computer target)
Creates actions for the given computer.- Parameters:
target
- The computer for which the action objects are requested. Never null.- Returns:
- Can be empty but must not be null.
-
all
public static ExtensionList<TransientComputerActionFactory> all()
Returns all the registeredTransientComputerActionFactory
s.
-
createAllFor
public static List<Action> createAllFor(Computer target)
CreatesAction
s for a node, using all registeredTransientComputerActionFactory
s.
-
-