Class PreserveStashesJobProperty
java.lang.Object
hudson.model.JobProperty<J>
jenkins.model.OptionalJobProperty<org.jenkinsci.plugins.workflow.job.WorkflowJob>
org.jenkinsci.plugins.pipeline.modeldefinition.properties.PreserveStashesJobProperty
- All Implemented Interfaces:
ExtensionPoint,Describable<JobProperty<?>>,ReconfigurableDescribable<JobProperty<?>>,BuildStep
public class PreserveStashesJobProperty
extends OptionalJobProperty<org.jenkinsci.plugins.workflow.job.WorkflowJob>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final classstatic final classstatic classNested classes/interfaces inherited from class jenkins.model.OptionalJobProperty
OptionalJobProperty.OptionalJobPropertyDescriptorNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsFields inherited from class hudson.model.JobProperty
ownerFields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jenkins.model.OptionalJobProperty
getDescriptorMethods inherited from class hudson.model.JobProperty
getJobAction, getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, reconfigure, reconfigure, setOwner
-
Field Details
-
MAX_SAVED_STASHES
public static final int MAX_SAVED_STASHES- See Also:
-
-
Constructor Details
-
PreserveStashesJobProperty
@DataBoundConstructor public PreserveStashesJobProperty()
-
-
Method Details
-
getBuildCount
public int getBuildCount() -
setBuildCount
@DataBoundSetter public void setBuildCount(int buildCount)
-