hudson.model
Class TransientUserActionFactory

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

public abstract class TransientUserActionFactory
extends Object
implements ExtensionPoint

Extension point for inserting transient Actions into Users. To register your implementation, put Extension on your subtype.

Since:
1.477
Author:
Vincent Latombe
See Also:
Action

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
TransientUserActionFactory()
           
 
Method Summary
static ExtensionList<TransientUserActionFactory> all()
          Returns all the registered TransientUserActionFactorys.
 Collection<? extends Action> createFor(User target)
          Creates actions for the given user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransientUserActionFactory

public TransientUserActionFactory()
Method Detail

createFor

public Collection<? extends Action> createFor(User target)
Creates actions for the given user.

Parameters:
target - for which the action objects are requested. Never null.
Returns:
Can be empty but must not be null.

all

public static ExtensionList<TransientUserActionFactory> all()
Returns all the registered TransientUserActionFactorys.



Copyright © 2004-2013. All Rights Reserved.