public class ClearCaseUcmSCM extends AbstractClearCaseScm
Modifier and Type | Class and Description |
---|---|
static class |
ClearCaseUcmSCM.ClearCaseUcmScmDescriptor
ClearCase UCM SCM descriptor
|
AbstractClearCaseScm.AbstractClearCaseScmDescriptor<T extends AbstractClearCaseScm>, AbstractClearCaseScm.ChangeSetLevel
CLEARCASE_VIEWNAME_ENVSTR, CLEARCASE_VIEWPATH_ENVSTR, CLEARCASE_VIEWTAG_ENVSTR, REGEX_WHITESPACE
Constructor and Description |
---|
ClearCaseUcmSCM(String stream,
String loadrules,
String viewTag,
boolean usedynamicview,
String viewdrive,
String mkviewoptionalparam,
boolean filterOutDestroySubBranchEvent,
boolean useUpdate,
boolean rmviewonrename)
Deprecated.
|
ClearCaseUcmSCM(String stream,
String loadrules,
String viewTag,
boolean usedynamicview,
String viewdrive,
String mkviewoptionalparam,
boolean filterOutDestroySubBranchEvent,
boolean useUpdate,
boolean rmviewonrename,
String excludedRegions,
String multiSitePollBuffer,
String overrideBranchName,
boolean createDynView,
boolean freezeCode,
boolean recreateView,
boolean allocateViewName,
String viewPath,
boolean useManualLoadRules,
AbstractClearCaseScm.ChangeSetLevel changeset,
ViewStorage viewStorage,
boolean buildFoundationBaseline) |
Modifier and Type | Method and Description |
---|---|
hudson.scm.ChangeLogParser |
createChangeLogParser() |
protected CheckoutAction |
createCheckOutAction(hudson.util.VariableResolver<String> variableResolver,
ClearToolLauncher launcher,
hudson.model.AbstractBuild<?,?> build)
Create a CheckOutAction that will be used by the checkout method.
|
ClearTool |
createClearTool(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher) |
ClearTool |
createClearTool(hudson.util.VariableResolver<String> variableResolver,
ClearToolLauncher launcher) |
protected UcmHistoryAction |
createHistoryAction(hudson.util.VariableResolver<String> variableResolver,
ClearToolLauncher launcher,
hudson.model.AbstractBuild<?,?> build,
hudson.scm.SCMRevisionState baseline,
boolean useRecurse)
Create a HistoryAction that will be used by the pollChanges() and checkout() method.
|
protected hudson.scm.SCMRevisionState |
createRevisionState(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener taskListener,
Date date) |
protected SaveChangeLogAction |
createSaveChangeLogAction(ClearToolLauncher launcher)
Create a SaveChangeLog action that is used to save a change log
|
String |
generateNormalizedViewName(hudson.util.VariableResolver<String> variableResolver,
String modViewName)
Returns a normalized view name that will be used in cleartool commands.
|
String[] |
getBranchNames(hudson.util.VariableResolver<String> variableResolver)
Return string array containing the branch names that should be used when polling for changes.
|
ClearCaseUcmSCM.ClearCaseUcmScmDescriptor |
getDescriptor() |
String |
getOverrideBranchName()
Return the branch type used for changelog and polling.
|
String |
getStream()
Return the stream that is used to create the UCM view.
|
String |
getStream(hudson.util.VariableResolver<String> variableResolver) |
String[] |
getViewPaths(hudson.util.VariableResolver<String> variableResolver,
hudson.model.AbstractBuild build,
hudson.Launcher launcher,
boolean forPolling)
Return string array containing the paths in the view that should be used when polling for changes.
|
protected boolean |
invalidRevisionState(hudson.scm.SCMRevisionState baseline) |
boolean |
isAllocateViewName() |
boolean |
isBuildFoundationBaseline() |
protected boolean |
isFirstBuild(hudson.scm.SCMRevisionState baseline) |
boolean |
isUseManualLoadRules() |
Object |
readResolve() |
void |
setAllocateViewName(boolean allocateViewName) |
void |
setBuildFoundationBaseline(boolean buildFoundationBaseline) |
buildEnvVars, calcRevisionsFromBuild, calcRevisionsFromPoll, checkout, compareRemoteRevisionWith, computeExtendedViewPath, configureFilters, createClearToolLauncher, generateNormalizedViewName, generateNormalizedViewName, getBranchNames, getBuildComputer, getBuildTime, getChangeset, getCurrentComputer, getExcludedRegions, getExcludedRegionsNormalized, getLoadRules, getLoadRules, getLoadRules, getLoadRulesForPolling, getMkviewOptionalParam, getModuleRoot, getModuleRoot, getMultiSitePollBuffer, getNormalizedViewName, getNormalizedViewPath, getViewDrive, getViewName, getViewName, getViewPath, getViewPath, getViewPaths, getViewPathsRegexp, getViewStorage, getViewStorageOrDefault, getWorkflow, hasNewConfigSpec, inspectConfigAction, isCreateDynView, isExtractLoadRules, isFilteringOutDestroySubBranchEvent, isFreezeCode, isRecreateView, isRemoveViewOnRename, isUseDynamicView, isUseOtherLoadRulesForPolling, isUseUpdate, processWorkspaceBeforeDeletion, requiresWorkspaceForPolling, setChangeset, setExtendedViewPath, setLoadRules, setNormalizedViewName, setNormalizedViewPath, setViewStorage, setWorkflow, supportsPolling
_calcRevisionsFromBuild, _for, _for, all, calcRevisionsFromBuild, checkout, compareRemoteRevisionWith, createEmptyChangeLog, createEmptyChangeLog, getApi, getBrowser, getEffectiveBrowser, getKey, getModuleRoots, getModuleRoots, getType, guessBrowser, nullify, poll, pollChanges, postCheckout, postCheckout, processWorkspaceBeforeDeletion
@Deprecated public ClearCaseUcmSCM(String stream, String loadrules, String viewTag, boolean usedynamicview, String viewdrive, String mkviewoptionalparam, boolean filterOutDestroySubBranchEvent, boolean useUpdate, boolean rmviewonrename)
@DataBoundConstructor public ClearCaseUcmSCM(String stream, String loadrules, String viewTag, boolean usedynamicview, String viewdrive, String mkviewoptionalparam, boolean filterOutDestroySubBranchEvent, boolean useUpdate, boolean rmviewonrename, String excludedRegions, String multiSitePollBuffer, String overrideBranchName, boolean createDynView, boolean freezeCode, boolean recreateView, boolean allocateViewName, String viewPath, boolean useManualLoadRules, AbstractClearCaseScm.ChangeSetLevel changeset, ViewStorage viewStorage, boolean buildFoundationBaseline)
public hudson.scm.ChangeLogParser createChangeLogParser()
createChangeLogParser
in class hudson.scm.SCM
public ClearTool createClearTool(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher) throws IOException, InterruptedException
IOException
InterruptedException
public ClearTool createClearTool(hudson.util.VariableResolver<String> variableResolver, ClearToolLauncher launcher)
createClearTool
in class AbstractClearCaseScm
public String generateNormalizedViewName(hudson.util.VariableResolver<String> variableResolver, String modViewName)
AbstractClearCaseScm
Returns a normalized view name that will be used in cleartool commands.
It will replace :generateNormalizedViewName
in class AbstractClearCaseScm
public String[] getBranchNames(hudson.util.VariableResolver<String> variableResolver)
AbstractClearCaseScm
getBranchNames
in class AbstractClearCaseScm
public ClearCaseUcmSCM.ClearCaseUcmScmDescriptor getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.scm.SCM>
getDescriptor
in class hudson.scm.SCM
public String getOverrideBranchName()
public String getStream()
public String[] getViewPaths(hudson.util.VariableResolver<String> variableResolver, hudson.model.AbstractBuild build, hudson.Launcher launcher, boolean forPolling) throws IOException, InterruptedException
AbstractClearCaseScm
getViewPaths
in class AbstractClearCaseScm
variableResolver
- [anb0s: HUDSON-8497]build
- TODOlauncher
- TODOforPolling
- used for polling?IOException
InterruptedException
public boolean isAllocateViewName()
public boolean isBuildFoundationBaseline()
public boolean isUseManualLoadRules()
public Object readResolve()
readResolve
in class AbstractClearCaseScm
public void setAllocateViewName(boolean allocateViewName)
public void setBuildFoundationBaseline(boolean buildFoundationBaseline)
protected CheckoutAction createCheckOutAction(hudson.util.VariableResolver<String> variableResolver, ClearToolLauncher launcher, hudson.model.AbstractBuild<?,?> build) throws IOException, InterruptedException
AbstractClearCaseScm
createCheckOutAction
in class AbstractClearCaseScm
launcher
- the command line launcherIOException
InterruptedException
protected UcmHistoryAction createHistoryAction(hudson.util.VariableResolver<String> variableResolver, ClearToolLauncher launcher, hudson.model.AbstractBuild<?,?> build, hudson.scm.SCMRevisionState baseline, boolean useRecurse) throws IOException, InterruptedException
AbstractClearCaseScm
createHistoryAction
in class AbstractClearCaseScm
launcher
- the command line launcherbuild
- the current build if applicablebaseline
- the baseline for comparisonuseRecurse
- whether to use the -recurse option in cleartool to call lshistoryIOException
InterruptedException
protected SaveChangeLogAction createSaveChangeLogAction(ClearToolLauncher launcher)
AbstractClearCaseScm
createSaveChangeLogAction
in class AbstractClearCaseScm
launcher
- the command line launcherprotected boolean invalidRevisionState(hudson.scm.SCMRevisionState baseline)
invalidRevisionState
in class AbstractClearCaseScm
protected boolean isFirstBuild(hudson.scm.SCMRevisionState baseline)
isFirstBuild
in class AbstractClearCaseScm
protected hudson.scm.SCMRevisionState createRevisionState(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.TaskListener taskListener, Date date) throws IOException, InterruptedException
createRevisionState
in class AbstractClearCaseScm
IOException
InterruptedException
Copyright © 2004-2021. All Rights Reserved.