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 transient Action
s to Computer
s.
To register your implementation, put Extension
on your subtype.
- Since:
- 1.405
- Author:
- Stephen Connolly
- See Also:
Action
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransientComputerActionFactory
public TransientComputerActionFactory()
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 registered
TransientComputerActionFactory
s.
createAllFor
public static List<Action> createAllFor(Computer target)
- Creates Action)s for a node, using all registered {@link TransientComputerActionFactory }s.
Copyright © 2004-2013. All Rights Reserved.