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 transientActions toComputers.To register your implementation, put
Extensionon 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 registeredTransientComputerActionFactorys.static List<Action>createAllFor(Computer target)CreatesActions for a node, using all registeredTransientComputerActionFactorys.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 registeredTransientComputerActionFactorys.
-
createAllFor
public static List<Action> createAllFor(Computer target)
CreatesActions for a node, using all registeredTransientComputerActionFactorys.
-
-