org.jenkinsci.plugins.periodicreincarnation
Class JobLocalConfiguration

java.lang.Object
  extended by hudson.model.JobProperty<hudson.model.Job<?,?>>
      extended by org.jenkinsci.plugins.periodicreincarnation.JobLocalConfiguration
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.model.JobProperty<?>>, hudson.model.ReconfigurableDescribable<hudson.model.JobProperty<?>>, hudson.tasks.BuildStep

public class JobLocalConfiguration
extends hudson.model.JobProperty<hudson.model.Job<?,?>>

Local configuration class.

Author:
yboev

Nested Class Summary
static class JobLocalConfiguration.DescriptorImpl
          Implementation of the descriptor object.
static class JobLocalConfiguration.LocalValues
          The options that unfold after enabling the local configuration for periodic reincarnation in the job config page.
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static JobLocalConfiguration.DescriptorImpl DESCRIPTOR
          Descriptor object.
 
Fields inherited from class hudson.model.JobProperty
owner
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
JobLocalConfiguration(JobLocalConfiguration.LocalValues optionalBlock)
          Contructor for data binding of form data.
 
Method Summary
 JobLocalConfiguration.DescriptorImpl getDescriptor()
           
 boolean getIsEnabled()
          Returns isEnabled.
 boolean getIsLocallyConfigured()
          Returns isLocallyConfigured.
 int getMaxDepth()
          Returns maxDepth.
 
Methods inherited from class hudson.model.JobProperty
getJobAction, getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, reconfigure, setOwner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESCRIPTOR

@Extension
public static final JobLocalConfiguration.DescriptorImpl DESCRIPTOR
Descriptor object.

Constructor Detail

JobLocalConfiguration

@DataBoundConstructor
public JobLocalConfiguration(JobLocalConfiguration.LocalValues optionalBlock)
Contructor for data binding of form data.

Parameters:
optionalBlock - instance of LocalValues.
Method Detail

getIsEnabled

public boolean getIsEnabled()
Returns isEnabled.

Returns:
isEnabled value.

getMaxDepth

public int getMaxDepth()
Returns maxDepth.

Returns:
maxDepth value.

getIsLocallyConfigured

public boolean getIsLocallyConfigured()
Returns isLocallyConfigured.

Returns:
isLocallyConfigured value.

getDescriptor

public JobLocalConfiguration.DescriptorImpl getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.model.JobProperty<?>>
Overrides:
getDescriptor in class hudson.model.JobProperty<hudson.model.Job<?,?>>


Copyright © 2004–2014. All rights reserved.