Package hudson.model
Class TransientComputerActionFactory
java.lang.Object
hudson.model.TransientComputerActionFactory
- All Implemented Interfaces:
ExtensionPoint
Extension point for inserting transient
Action
s to Computer
s.
To register your implementation, put Extension
on your subtype.
- Since:
- 1.405
- Author:
- Stephen Connolly
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionall()
Returns all the registeredTransientComputerActionFactory
s.createAllFor
(Computer target) CreatesAction
s for a node, using all registeredTransientComputerActionFactory
s.abstract Collection<? extends Action>
Creates actions for the given computer.
-
Constructor Details
-
TransientComputerActionFactory
public TransientComputerActionFactory()
-
-
Method Details
-
createFor
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
Returns all the registeredTransientComputerActionFactory
s. -
createAllFor
CreatesAction
s for a node, using all registeredTransientComputerActionFactory
s.
-