@Extension public static class Branch.TransientJobActionsFactoryImpl extends TransientActionFactory<Job>
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.ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
TransientJobActionsFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends Action> |
createFor(Job target) |
Class<Job> |
type() |
actionType, factoriesForpublic Class<Job> type()
type in class TransientActionFactory<Job>@Nonnull public Collection<? extends Action> createFor(@Nonnull Job target)
createFor in class TransientActionFactory<Job>Copyright © 2016–2019. All rights reserved.