Package jenkins.branch
Class MultiBranchProject.CopyItemVeto
java.lang.Object
hudson.model.listeners.ItemListener
jenkins.branch.MultiBranchProject.CopyItemVeto
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- MultiBranchProject<P extends Job<P,
R> & TopLevelItem, R extends Run<P, R>>
Veto attempts to copy branch projects outside of their multibranch container. Only works on Jenkins core
versions with JENKINS-34691 merged.
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Methods inherited from class hudson.model.listeners.ItemListener
all, checkBeforeCopy, fireLocationChange, fireOnCopied, fireOnCreated, fireOnDeleted, fireOnUpdated, onBeforeShutdown, onCopied, onCreated, onDeleted, onLoaded, onLocationChanged, onRenamed, onUpdated, register
-
Constructor Details
-
CopyItemVeto
public CopyItemVeto()
-
-
Method Details
-
onCheckCopy
- Overrides:
onCheckCopy
in classItemListener
- Throws:
Failure
-