com.michelin.cio.hudson.plugins.clearcaseucmbaseline
Class ClearCaseUcmBaselineParameterValue
java.lang.Object
hudson.model.ParameterValue
com.michelin.cio.hudson.plugins.clearcaseucmbaseline.ClearCaseUcmBaselineParameterValue
- All Implemented Interfaces:
- java.io.Serializable
public class ClearCaseUcmBaselineParameterValue
- extends hudson.model.ParameterValue
This class represents the actual ParameterValue
for the
ClearCaseUcmBaselineParameterDefinition
parameter.
This value holds the following information:
The ClearCase UCM PVOB name (which is actually defined at config-time —
cf. ClearCaseUcmBaselineParameterDefinition
);
The ClearCase UCM component name (which is actually defined at config-time
— cf. ClearCaseUcmBaselineParameterDefinition
);
The ClearCase UCM promotion level (which is actually defined at config-time
— cf. ClearCaseUcmBaselineParameterDefinition
);
The ClearCase UCM view to create name (which is actually defined at config-time
— cf. ClearCaseUcmBaselineParameterDefinition
);
The ClearCase UCM baseline (this is the only one information which is
asked at build-time)
- Author:
- Romain Seguy (http://openromain.blogspot.com)
- See Also:
- Serialized Form
Fields inherited from class hudson.model.ParameterValue |
name |
Constructor Summary |
ClearCaseUcmBaselineParameterValue(java.lang.String name,
java.lang.String baseline,
boolean forceRmview)
|
ClearCaseUcmBaselineParameterValue(java.lang.String name,
java.lang.String pvob,
java.lang.String component,
java.lang.String promotionLevel,
java.lang.String stream,
java.lang.String viewName,
java.lang.String mkviewOptionalParam,
java.lang.String baseline,
boolean useUpdate,
boolean forceRmview,
boolean snapshotView,
boolean excludeElementCheckedout)
|
Methods inherited from class hudson.model.ParameterValue |
buildEnvVars, buildEnvVars, createVariableResolver, equals, getDefinition, getDescription, getName, getShortDescription, hashCode, setDescription |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ClearCaseUcmBaselineParameterValue
@DataBoundConstructor
public ClearCaseUcmBaselineParameterValue(java.lang.String name,
java.lang.String baseline,
boolean forceRmview)
ClearCaseUcmBaselineParameterValue
public ClearCaseUcmBaselineParameterValue(java.lang.String name,
java.lang.String pvob,
java.lang.String component,
java.lang.String promotionLevel,
java.lang.String stream,
java.lang.String viewName,
java.lang.String mkviewOptionalParam,
java.lang.String baseline,
boolean useUpdate,
boolean forceRmview,
boolean snapshotView,
boolean excludeElementCheckedout)
createBuildWrapper
public hudson.tasks.BuildWrapper createBuildWrapper(hudson.model.AbstractBuild<?,?> build)
- Returns the
BuildWrapper
(defined as an inner class) which does
the "checkout" from the ClearCase UCM baseline selected by the user.
If a ClearCaseUcmBaselineParameterDefinition
is added for the
build but the SCM is not ClearCaseUcmBaselineSCM
, then the
BuildWrapper
which is returned will make the build fail.
- Overrides:
createBuildWrapper
in class hudson.model.ParameterValue
getBaseline
public java.lang.String getBaseline()
setBaseline
public void setBaseline(java.lang.String baseline)
getComponent
public java.lang.String getComponent()
setComponent
public void setComponent(java.lang.String component)
getExcludeElementCheckedout
public boolean getExcludeElementCheckedout()
setExcludeElementCheckedout
public void setExcludeElementCheckedout(boolean excludeElementCheckedout)
getForceRmview
public boolean getForceRmview()
setForceRmview
public void setForceRmview(boolean forceRmview)
getMkviewOptionalParam
public java.lang.String getMkviewOptionalParam()
setMkviewOptionalParam
public void setMkviewOptionalParam(java.lang.String mkviewOptionalParam)
getPromotionLevel
public java.lang.String getPromotionLevel()
setPromotionLevel
public void setPromotionLevel(java.lang.String promotionLevel)
getPvob
public java.lang.String getPvob()
setPvob
public void setPvob(java.lang.String pvob)
setRestrictions
public void setRestrictions(java.util.List<java.lang.String> restrictions)
getSnapshotView
public boolean getSnapshotView()
setSnapshotView
public void setSnapshotView(boolean snapshotView)
getStream
public java.lang.String getStream()
setStream
public void setStream(java.lang.String stream)
getUseUpdate
public boolean getUseUpdate()
setUseUpdate
public void setUseUpdate(boolean useUpdate)
getViewName
public java.lang.String getViewName()
setViewName
public void setViewName(java.lang.String viewName)
Copyright © 2011. All Rights Reserved.