Package io.jenkins.plugins.monitoring
Class MonitoringMultibranchProjectActionFactory
- java.lang.Object
-
- jenkins.model.TransientActionFactory<jenkins.branch.MultiBranchProject>
-
- io.jenkins.plugins.monitoring.MonitoringMultibranchProjectActionFactory
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class MonitoringMultibranchProjectActionFactory extends TransientActionFactory<jenkins.branch.MultiBranchProject>
ATransientActionFactoryto add an action to specificMultiBranchProject.- Author:
- Simon Symhoven
-
-
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
Constructors Constructor Description MonitoringMultibranchProjectActionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<? extends Action>createFor(jenkins.branch.MultiBranchProject multiBranchProject)Add the action to the selectedMultiBranchProject.Class<jenkins.branch.MultiBranchProject>type()Specifies theClassof the job (MultiBranchProject) to add the action to.-
Methods inherited from class jenkins.model.TransientActionFactory
actionType, factoriesFor
-
-
-
-
Method Detail
-
type
public Class<jenkins.branch.MultiBranchProject> type()
Specifies theClassof the job (MultiBranchProject) to add the action to.- Specified by:
typein classTransientActionFactory<jenkins.branch.MultiBranchProject>- Returns:
- the
Classof the job to add the action to.
-
createFor
@NonNull public Collection<? extends Action> createFor(@NonNull jenkins.branch.MultiBranchProject multiBranchProject)
Add the action to the selectedMultiBranchProject.- Specified by:
createForin classTransientActionFactory<jenkins.branch.MultiBranchProject>- Parameters:
multiBranchProject- the job to add the action to.- Returns:
CollectionsofMonitoringMultibranchProjectAction.
-
-