hudson.model
Class TransientComputerActionFactory

java.lang.Object
  extended by hudson.model.TransientComputerActionFactory
All Implemented Interfaces:
ExtensionPoint

public abstract class TransientComputerActionFactory
extends Object
implements ExtensionPoint

Extension point for inserting transient Actions to Computers.

To register your implementation, put Extension on your subtype.

Since:
1.405
Author:
Stephen Connolly
See Also:
Action

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
TransientComputerActionFactory()
           
 
Method Summary
static ExtensionList<TransientComputerActionFactory> all()
          Returns all the registered TransientComputerActionFactorys.
static List<Action> createAllFor(Computer target)
          Creates Action)s for a node, using all registered {@link TransientComputerActionFactory }s.
abstract  Collection<? extends Action> createFor(Computer target)
          Creates actions for the given computer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransientComputerActionFactory

public TransientComputerActionFactory()
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 registered TransientComputerActionFactorys.


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.