Package hudson.model
Class TransientUserActionFactory
- java.lang.Object
-
- hudson.model.TransientUserActionFactory
-
- All Implemented Interfaces:
ExtensionPoint
public abstract class TransientUserActionFactory extends Object implements ExtensionPoint
Extension point for inserting transientAction
s intoUser
s. To register your implementation, putExtension
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
Constructors Constructor Description TransientUserActionFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExtensionList<TransientUserActionFactory>
all()
Returns all the registeredTransientUserActionFactory
s.Collection<? extends Action>
createFor(User target)
Creates actions for the given user.
-
-
-
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 registeredTransientUserActionFactory
s.
-
-