hudson.scm
Class IntegrityCheckpointAction

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Notifier
              extended by hudson.scm.IntegrityCheckpointAction
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public class IntegrityCheckpointAction
extends hudson.tasks.Notifier


Nested Class Summary
static class IntegrityCheckpointAction.IntegrityCheckpointDescriptorImpl
          The relationship of Descriptor and IntegrityCheckpointAction (the describable) is akin to class and object.
 
Nested classes/interfaces inherited from class hudson.tasks.Publisher
hudson.tasks.Publisher.DescriptorExtensionListImpl
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Field Summary
static IntegrityCheckpointAction.IntegrityCheckpointDescriptorImpl CHECKPOINT_DESCRIPTOR
           
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
IntegrityCheckpointAction()
           
 
Method Summary
 hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> getDescriptor()
          Return the instance of DescriptorImpl object for this class
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
          Returns the build step we're monitoring
 String getTagName()
          Returns the label pattern for the Checkpoint
 boolean needsToRunAfterFinalized()
          Toggles whether or not this needs to run after build is finalized
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
          Executes the actual Integrity Checkpoint operation
 void setTagName(String tagName)
          Sets the label for the Checkpoint
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRun, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, prebuild
 

Field Detail

CHECKPOINT_DESCRIPTOR

@Extension
public static final IntegrityCheckpointAction.IntegrityCheckpointDescriptorImpl CHECKPOINT_DESCRIPTOR
Constructor Detail

IntegrityCheckpointAction

public IntegrityCheckpointAction()
Method Detail

getTagName

public String getTagName()
Returns the label pattern for the Checkpoint

Returns:
Checkpoint Label

setTagName

public void setTagName(String tagName)
Sets the label for the Checkpoint

Parameters:
tagName - The Checkpoint Label

perform

public boolean perform(hudson.model.AbstractBuild<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
                throws InterruptedException,
                       IOException
Executes the actual Integrity Checkpoint operation

Specified by:
perform in interface hudson.tasks.BuildStep
Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
Throws:
InterruptedException
IOException

needsToRunAfterFinalized

public boolean needsToRunAfterFinalized()
Toggles whether or not this needs to run after build is finalized

Overrides:
needsToRunAfterFinalized in class hudson.tasks.Publisher

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
Returns the build step we're monitoring


getDescriptor

public hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> getDescriptor()
Return the instance of DescriptorImpl object for this class

Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>
Overrides:
getDescriptor in class hudson.tasks.Notifier


Copyright © 2004-2012 Hudson. All Rights Reserved.