hudson.plugins.clearcase.ucm
Class UcmMakeBaseline

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Notifier
              extended by hudson.plugins.clearcase.ucm.UcmMakeBaseline
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public class UcmMakeBaseline
extends hudson.tasks.Notifier

UcmMakeBaseline creates baselines on a ClearCase stream after a successful build. The name and comment of the baseline can be changed using the namePattern and commentPattern variables.

Author:
Peter Liljenberg, Gregory Boissinot

Nested Class Summary
static class UcmMakeBaseline.DescriptorImpl
           
 
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
UcmMakeBaseline(java.lang.String namePattern, java.lang.String commentPattern, boolean lock, boolean recommend, boolean fullBaseline, boolean identical, boolean rebaseDynamicView, java.lang.String dynamicViewName)
           
 
Method Summary
 java.lang.String getCommentPattern()
           
 UcmMakeBaseline.DescriptorImpl getDescriptor()
           
 java.lang.String getDynamicViewName()
           
 java.lang.String getNamePattern()
           
 java.util.List<java.lang.String> getReadWriteComponents()
           
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 boolean isFullBaseline()
           
 boolean isIdentical()
           
 boolean isLockStream()
           
 boolean isRebaseDynamicView()
           
 boolean isRecommend()
           
 boolean needsToRunAfterFinalized()
           
 boolean perform(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 boolean prebuild(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform
 
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
 

Constructor Detail

UcmMakeBaseline

public UcmMakeBaseline(java.lang.String namePattern,
                       java.lang.String commentPattern,
                       boolean lock,
                       boolean recommend,
                       boolean fullBaseline,
                       boolean identical,
                       boolean rebaseDynamicView,
                       java.lang.String dynamicViewName)
Method Detail

getCommentPattern

public java.lang.String getCommentPattern()

isLockStream

public boolean isLockStream()

getNamePattern

public java.lang.String getNamePattern()

isRecommend

public boolean isRecommend()

isFullBaseline

public boolean isFullBaseline()

isIdentical

public boolean isIdentical()

getDynamicViewName

public java.lang.String getDynamicViewName()

isRebaseDynamicView

public boolean isRebaseDynamicView()

getReadWriteComponents

public java.util.List<java.lang.String> getReadWriteComponents()

getDescriptor

public UcmMakeBaseline.DescriptorImpl getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>
Overrides:
getDescriptor in class hudson.tasks.Notifier

needsToRunAfterFinalized

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

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()

prebuild

public boolean prebuild(hudson.model.AbstractBuild<?,?> build,
                        hudson.model.BuildListener listener)
Specified by:
prebuild in interface hudson.tasks.BuildStep
Overrides:
prebuild in class hudson.tasks.BuildStepCompatibilityLayer

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


Copyright © 2010. All Rights Reserved.