Package hudson.model
Interface Job.BuildNumberAssigner
- All Superinterfaces:
ExtensionPoint
- All Known Implementing Classes:
Job.DefaultBuildNumberAssigner
@Restricted(org.kohsuke.accmod.restrictions.Beta.class)
public static interface Job.BuildNumberAssigner
extends ExtensionPoint
Alternate strategy for assigning build numbers.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Provides an externally accessible alias forJob.saveNextBuildNumber()
, which isprotected
.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Method Summary
Modifier and TypeMethodDescriptionint
assignBuildNumber
(Job<?, ?> job, Job.BuildNumberAssigner.SaveNextBuildNumber saveNextBuildNumber) Implementation ofJob.assignBuildNumber()
.
-
Method Details
-
assignBuildNumber
int assignBuildNumber(Job<?, ?> job, Job.BuildNumberAssigner.SaveNextBuildNumber saveNextBuildNumber) throws IOExceptionImplementation ofJob.assignBuildNumber()
.- Throws:
IOException
-