Package jenkins.tasks
Class SimpleBuildStep.LastBuildActionFactory
- All Implemented Interfaces:
ExtensionPoint
- Enclosing interface:
- SimpleBuildStep
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
@Extension
public static final class SimpleBuildStep.LastBuildActionFactory
extends TransientActionFactory<Job>
-
Nested Class Summary
Nested classes/interfaces inherited from class jenkins.model.TransientActionFactory
TransientActionFactory.Cache
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Methods inherited from class jenkins.model.TransientActionFactory
actionType, factoriesFor
-
Constructor Details
-
LastBuildActionFactory
public LastBuildActionFactory()
-
-
Method Details
-
type
Description copied from class:TransientActionFactory
The type of object this factory cares about. Declared separately, rather than by havingTransientActionFactory.createFor(T)
do a check-cast, so that method bodies are not loaded until actually needed.- Specified by:
type
in classTransientActionFactory<Job>
- Returns:
- the type of
TransientActionFactory
-
createFor
Description copied from class:TransientActionFactory
Creates actions for a given object. This may be called frequently for the same object, so if your implementation is expensive, do your own caching.- Specified by:
createFor
in classTransientActionFactory<Job>
- Parameters:
j
- an actionable object- Returns:
- a possible empty set of actions (typically either using
Collections.emptySet()
orCollections.singleton(T)
)
-