hudson.plugins.cvs_tag
Class CvsTagPublisher

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Recorder
              extended by hudson.plugins.cvs_tag.CvsTagPublisher
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public class CvsTagPublisher
extends hudson.tasks.Recorder

Author:
Brendt Lucas

Nested Class Summary
static class CvsTagPublisher.CvsTagDescriptorImpl
           
 
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 CvsTagPublisher.CvsTagDescriptorImpl DESCRIPTOR
           
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
protected CvsTagPublisher()
           
 
Method Summary
 hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> getDescriptor()
           
 boolean getMoveTag()
           
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 java.lang.String getTagName()
           
 boolean isMoveTag()
          Determine whether to move the tag if it exists
 boolean needsToRunAfterFinalized()
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 void setMoveTag(boolean moveTag)
          Enable or disable whether the tag should be moved (-F)
 void setTagName(java.lang.String tagName)
          Set the tag name
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, 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

DESCRIPTOR

@Extension
public static final CvsTagPublisher.CvsTagDescriptorImpl DESCRIPTOR
Constructor Detail

CvsTagPublisher

protected CvsTagPublisher()
Method Detail

getTagName

public java.lang.String getTagName()
Returns:
the tag name

setTagName

public void setTagName(java.lang.String tagName)
Set the tag name

Parameters:
tagName - the tag name

isMoveTag

public boolean isMoveTag()
Determine whether to move the tag if it exists

Returns:
true if the tag should be moved, else false.

getMoveTag

public boolean getMoveTag()

setMoveTag

public void setMoveTag(boolean moveTag)
Enable or disable whether the tag should be moved (-F)

Parameters:
moveTag - true to move the tag, false otherwise.

perform

public boolean perform(hudson.model.AbstractBuild<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
                throws java.lang.InterruptedException,
                       java.io.IOException
Specified by:
perform in interface hudson.tasks.BuildStep
Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
Throws:
java.lang.InterruptedException
java.io.IOException

needsToRunAfterFinalized

public boolean needsToRunAfterFinalized()
Overrides:
needsToRunAfterFinalized in class hudson.tasks.Publisher

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()

getDescriptor

public hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>
Overrides:
getDescriptor in class hudson.tasks.Recorder


Copyright © 2004-2011. All Rights Reserved.