hudson.plugins.clearcase.ucm
Class UcmMakeBaseline
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
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
- 2008-10-11 Add the rebase dynamic view feature
- 2008-11-21 Restrict 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 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 |
| 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)
|
| 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 |
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)
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.