Package jenkins.branch
Class Branch.TransientJobActionsFactoryImpl
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- Branch
@Extension
public static class Branch.TransientJobActionsFactoryImpl
extends TransientActionFactory<Job>
Ensures that the
Branch.getActions()
are always present in the Actionable.getAllActions()
.
NOTE: We need to use a transient action factory as AbstractProject.getActions()
is unmodifiable
and consequently Actionable.addAction(Action)
will always fail.- Since:
- 2.0
-
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
-
TransientJobActionsFactoryImpl
public TransientJobActionsFactoryImpl()
-
-
Method Details
-
type
- Specified by:
type
in classTransientActionFactory<Job>
-
createFor
- Specified by:
createFor
in classTransientActionFactory<Job>
-