net.praqma.hudson.notifier
Class PucmNotifier

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Notifier
              extended by net.praqma.hudson.notifier.PucmNotifier
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public class PucmNotifier
extends hudson.tasks.Notifier

PucmNotifier perfoms the user-chosen PUCM post-build actions

Author:
Troels Selch S�rensen, Margit Bennetzen

Nested Class Summary
static class PucmNotifier.DescriptorImpl
          This class is used by Hudson to define the plugin.
 
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
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
PucmNotifier(boolean promote, boolean recommended, boolean makeTag, boolean setDescription)
          Deprecated.  
PucmNotifier(boolean promote, boolean recommended, boolean makeTag, boolean setDescription, boolean ucmDeliver, java.lang.String alternateTarget, java.lang.String baselineName, boolean apply4level)
          This constructor is used in the inner class DescriptorImpl.
PucmNotifier(boolean promote, boolean recommended, boolean makeTag, boolean setDescription, UCMDeliver ucmDeliver)
           
 
Method Summary
 java.lang.String getAlternateTarget()
           
 java.lang.String getBaselineName()
           
 java.lang.String getbuildnumberMajor()
           
 java.lang.String getbuildnumberMinor()
           
 java.lang.String getbuildnumberPatch()
           
 java.lang.String getBuildnumberSequenceSelector()
           
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 java.lang.String getVersionFrom()
           
 boolean isMakeTag()
           
 boolean isPromote()
           
 boolean isRecommended()
           
 boolean isSetDescription()
           
 boolean isUcmDeliver()
           
 boolean needsToRunAfterFinalized()
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.Notifier
getDescriptor
 
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
 

Constructor Detail

PucmNotifier

public PucmNotifier(boolean promote,
                    boolean recommended,
                    boolean makeTag,
                    boolean setDescription)
Deprecated. 

Before version 0.2.5(I think)

Parameters:
promote -
recommended -
makeTag -
setDescription -

PucmNotifier

public PucmNotifier(boolean promote,
                    boolean recommended,
                    boolean makeTag,
                    boolean setDescription,
                    boolean ucmDeliver,
                    java.lang.String alternateTarget,
                    java.lang.String baselineName,
                    boolean apply4level)
This constructor is used in the inner class DescriptorImpl.

Parameters:
promote - if true, the baseline will be promoted after the build.
recommended - if true, the baseline will be marked 'recommended' in ClearCase.
makeTag - if true, pucm will set a Tag() on the baseline in ClearCase.

PucmNotifier

public PucmNotifier(boolean promote,
                    boolean recommended,
                    boolean makeTag,
                    boolean setDescription,
                    UCMDeliver ucmDeliver)
Method Detail

needsToRunAfterFinalized

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

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()

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

isPromote

public boolean isPromote()

isRecommended

public boolean isRecommended()

isMakeTag

public boolean isMakeTag()

isSetDescription

public boolean isSetDescription()

isUcmDeliver

public boolean isUcmDeliver()

getAlternateTarget

public java.lang.String getAlternateTarget()

getBaselineName

public java.lang.String getBaselineName()

getVersionFrom

public java.lang.String getVersionFrom()

getBuildnumberSequenceSelector

public java.lang.String getBuildnumberSequenceSelector()

getbuildnumberMajor

public java.lang.String getbuildnumberMajor()

getbuildnumberMinor

public java.lang.String getbuildnumberMinor()

getbuildnumberPatch

public java.lang.String getbuildnumberPatch()


Copyright © 2011. All Rights Reserved.