public class ClearCaseSCM extends AbstractClearCaseScm
Modifier and Type | Class and Description |
---|---|
static class |
ClearCaseSCM.ClearCaseScmDescriptor
ClearCase SCM descriptor
|
AbstractClearCaseScm.AbstractClearCaseScmDescriptor<T extends AbstractClearCaseScm>, AbstractClearCaseScm.ChangeSetLevel
Modifier and Type | Field and Description |
---|---|
static String |
CLEARCASE_CSFILENAME_ENVSTR |
CLEARCASE_VIEWNAME_ENVSTR, CLEARCASE_VIEWPATH_ENVSTR, CLEARCASE_VIEWTAG_ENVSTR, REGEX_WHITESPACE
Constructor and Description |
---|
ClearCaseSCM(String branch,
String label,
boolean extractConfigSpec,
String configSpecFileName,
boolean refreshConfigSpec,
String refreshConfigSpecCommand,
String configSpec,
String viewTag,
boolean useupdate,
boolean extractLoadRules,
String loadRules,
boolean useOtherLoadRulesForPolling,
String loadRulesForPolling,
boolean usedynamicview,
String viewdrive,
String mkviewoptionalparam,
boolean filterOutDestroySubBranchEvent,
boolean doNotUpdateConfigSpec,
boolean rmviewonrename,
String excludedRegions,
String multiSitePollBuffer,
boolean useTimeRule,
boolean createDynView,
String viewPath,
AbstractClearCaseScm.ChangeSetLevel changeset,
ViewStorage viewStorage) |
ClearCaseSCM(String branch,
String label,
String configspec,
String viewTag,
boolean useupdate,
String loadRules,
boolean usedynamicview,
String viewdrive,
String mkviewoptionalparam,
boolean filterOutDestroySubBranchEvent,
boolean doNotUpdateConfigSpec,
boolean rmviewonrename) |
Modifier and Type | Method and Description |
---|---|
void |
buildEnvVars(hudson.model.AbstractBuild<?,?> build,
Map<String,String> env)
Adds the env variable for the ClearCase SCMs.
|
Filter |
configureFilters(hudson.util.VariableResolver<String> variableResolver,
hudson.model.AbstractBuild build,
hudson.Launcher launcher) |
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.
|
protected HistoryAction |
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 |
getBranch() |
String[] |
getBranchNames(hudson.util.VariableResolver<String> variableResolver)
Split the branch names into a string array.
|
String |
getConfigSpec() |
String |
getConfigSpec(hudson.util.VariableResolver<String> variableResolver) |
String |
getConfigSpecFileName() |
String |
getConfigSpecFileName(hudson.util.VariableResolver<String> variableResolver) |
ClearCaseSCM.ClearCaseScmDescriptor |
getDescriptor() |
String |
getLabel() |
String[] |
getLabelNames(hudson.util.VariableResolver<String> variableResolver) |
String |
getRefreshConfigSpecCommand() |
String |
getRefreshConfigSpecCommand(hudson.util.VariableResolver<String> variableResolver) |
protected boolean |
hasNewConfigSpec(hudson.util.VariableResolver<String> variableResolver,
ClearToolLauncher cclauncher) |
protected void |
inspectConfigAction(hudson.util.VariableResolver<String> variableResolver,
ClearToolLauncher cclauncher)
inspect config action that will be used by the checkout method.
|
boolean |
isDoNotUpdateConfigSpec() |
boolean |
isExtractConfigSpec() |
protected boolean |
isFirstBuild(hudson.scm.SCMRevisionState baseline) |
boolean |
isRefreshConfigSpec() |
boolean |
isUseTimeRule() |
String |
setConfigSpec(String scpec) |
calcRevisionsFromBuild, calcRevisionsFromPoll, checkout, compareRemoteRevisionWith, computeExtendedViewPath, createClearTool, createClearToolLauncher, generateNormalizedViewName, 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, getViewPaths, getViewPathsRegexp, getViewStorage, getViewStorageOrDefault, getWorkflow, invalidRevisionState, isCreateDynView, isExtractLoadRules, isFilteringOutDestroySubBranchEvent, isFreezeCode, isRecreateView, isRemoveViewOnRename, isUseDynamicView, isUseOtherLoadRulesForPolling, isUseUpdate, processWorkspaceBeforeDeletion, readResolve, 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
public static final String CLEARCASE_CSFILENAME_ENVSTR
@DataBoundConstructor public ClearCaseSCM(String branch, String label, boolean extractConfigSpec, String configSpecFileName, boolean refreshConfigSpec, String refreshConfigSpecCommand, String configSpec, String viewTag, boolean useupdate, boolean extractLoadRules, String loadRules, boolean useOtherLoadRulesForPolling, String loadRulesForPolling, boolean usedynamicview, String viewdrive, String mkviewoptionalparam, boolean filterOutDestroySubBranchEvent, boolean doNotUpdateConfigSpec, boolean rmviewonrename, String excludedRegions, String multiSitePollBuffer, boolean useTimeRule, boolean createDynView, String viewPath, AbstractClearCaseScm.ChangeSetLevel changeset, ViewStorage viewStorage)
public void buildEnvVars(hudson.model.AbstractBuild<?,?> build, Map<String,String> env)
buildEnvVars
in class AbstractClearCaseScm
public Filter configureFilters(hudson.util.VariableResolver<String> variableResolver, hudson.model.AbstractBuild build, hudson.Launcher launcher) throws IOException, InterruptedException
configureFilters
in class AbstractClearCaseScm
IOException
InterruptedException
public hudson.scm.ChangeLogParser createChangeLogParser()
createChangeLogParser
in class hudson.scm.SCM
public String getBranch()
public String[] getBranchNames(hudson.util.VariableResolver<String> variableResolver)
getBranchNames
in class AbstractClearCaseScm
branchString
- string containing none or several branchespublic String getConfigSpec()
public String getConfigSpecFileName()
public String getConfigSpecFileName(hudson.util.VariableResolver<String> variableResolver)
public ClearCaseSCM.ClearCaseScmDescriptor getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.scm.SCM>
getDescriptor
in class hudson.scm.SCM
public String getLabel()
public String getRefreshConfigSpecCommand()
public String getRefreshConfigSpecCommand(hudson.util.VariableResolver<String> variableResolver)
public boolean isDoNotUpdateConfigSpec()
public boolean isExtractConfigSpec()
public boolean isRefreshConfigSpec()
public boolean isUseTimeRule()
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 HistoryAction 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 hasNewConfigSpec(hudson.util.VariableResolver<String> variableResolver, ClearToolLauncher cclauncher) throws IOException, InterruptedException
hasNewConfigSpec
in class AbstractClearCaseScm
IOException
InterruptedException
protected void inspectConfigAction(hudson.util.VariableResolver<String> variableResolver, ClearToolLauncher cclauncher) throws IOException, InterruptedException
AbstractClearCaseScm
inspectConfigAction
in class AbstractClearCaseScm
IOException
InterruptedException
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.