Package hudson.model
Class Job.DefaultBuildNumberAssigner
java.lang.Object
hudson.model.Job.DefaultBuildNumberAssigner
- All Implemented Interfaces:
ExtensionPoint
,Job.BuildNumberAssigner
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class)
@Extension(ordinal=-1000.0)
public static final class Job.DefaultBuildNumberAssigner
extends Object
implements Job.BuildNumberAssigner
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
Nested classes/interfaces inherited from interface hudson.model.Job.BuildNumberAssigner
Job.BuildNumberAssigner.SaveNextBuildNumber
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
assignBuildNumber
(Job<?, ?> job, Job.BuildNumberAssigner.SaveNextBuildNumber saveNextBuildNumber) Implementation ofJob.assignBuildNumber()
.
-
Constructor Details
-
DefaultBuildNumberAssigner
public DefaultBuildNumberAssigner()
-
-
Method Details
-
assignBuildNumber
public int assignBuildNumber(Job<?, ?> job, Job.BuildNumberAssigner.SaveNextBuildNumber saveNextBuildNumber) throws IOExceptionDescription copied from interface:Job.BuildNumberAssigner
Implementation ofJob.assignBuildNumber()
.- Specified by:
assignBuildNumber
in interfaceJob.BuildNumberAssigner
- Throws:
IOException
-