hudson.plugins.clearcase.ucm
Class UcmMakeBaseline

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

public class UcmMakeBaseline
extends hudson.tasks.Publisher

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 2008-10-11 Add the rebase dynamic view feature 2008-11-21 Restric the baseline creation on read/write components 2009-03-02 Add the dynamic view support for the make baseline 2009-03-22 'The createdBaselines' follow now the same model of the 'latestBaselines' and 'readWriteComponents' fields.

Nested Class Summary
static class UcmMakeBaseline.UcmMakeBaselineDescriptor
           
 
Nested classes/interfaces inherited from class hudson.tasks.Publisher
hudson.tasks.Publisher.DescriptorExtensionListImpl
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Field Summary
static hudson.model.Descriptor<hudson.tasks.Publisher> DESCRIPTOR
           
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Method Summary
 java.lang.String getCommentPattern()
           
 hudson.model.Descriptor<hudson.tasks.Publisher> getDescriptor()
           
 java.lang.String getDynamicViewName()
           
 java.lang.String getNamePattern()
           
 java.util.List<java.lang.String> getReadWriteComponents()
           
 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, 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
 

Field Detail

DESCRIPTOR

public static final hudson.model.Descriptor<hudson.tasks.Publisher> DESCRIPTOR
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()

needsToRunAfterFinalized

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

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

getDescriptor

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


Copyright © 2009. All Rights Reserved.