public class ClearCaseUCM extends AbstractConfigurationRotatorSCM implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ClearCaseUCM.DescriptorImpl |
class |
ClearCaseUCM.UCMChangeLogWriter |
class |
ClearCaseUCM.UCMPerformer |
AbstractConfigurationRotatorSCM.ChangeLogWriter<C extends AbstractConfigurationComponent,T extends AbstractConfiguration<C>>, AbstractConfigurationRotatorSCM.Performer<C>, AbstractConfigurationRotatorSCM.Poller<C extends AbstractConfiguration>| Modifier and Type | Field and Description |
|---|---|
List<ClearCaseUCMTarget> |
targets |
projectConfiguration| Constructor and Description |
|---|
ClearCaseUCM(net.praqma.clearcase.PVob pvob) |
ClearCaseUCM(String pvobName) |
| Modifier and Type | Method and Description |
|---|---|
ConfigRotatorChangeLogParser |
createChangeLogParser() |
net.praqma.clearcase.ucm.view.SnapshotView |
createView(hudson.model.TaskListener listener,
hudson.model.AbstractBuild<?,?> build,
ClearCaseUCMConfiguration configuration,
hudson.FilePath workspace,
net.praqma.clearcase.PVob pvob) |
AbstractConfigurationRotatorSCM.ChangeLogWriter |
getChangeLogWriter(File changeLogFile,
hudson.model.BuildListener listener,
hudson.model.AbstractBuild<?,?> build) |
List<ClearCaseUCMTarget> |
getCompareTargets(hudson.model.AbstractProject<?,?> project) |
String |
getName()
Return the name of the type
|
AbstractConfigurationRotatorSCM.Performer<ClearCaseUCMConfiguration> |
getPerform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener)
Perform the actual config rotation
|
AbstractConfigurationRotatorSCM.Poller |
getPoller(hudson.model.AbstractProject<?,?> project,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener) |
String |
getPvobName() |
List<ClearCaseUCMTarget> |
getTargets()
Get the configuration as targets.
|
AbstractConfiguration |
nextConfiguration(hudson.model.TaskListener listener,
AbstractConfiguration configuration,
hudson.FilePath workspace)
nextConfiguration is used to indicate if a new configuration exists.
|
void |
printConfiguration(PrintStream out,
AbstractConfiguration cfg) |
void |
reconfigure(hudson.FilePath workspace,
hudson.model.TaskListener listener)
Reconfigure the project configuration given the targets from the configuration page
|
void |
setConfigurationByAction(hudson.model.AbstractProject<?,?> project,
ConfigurationRotatorBuildAction action) |
<TT extends AbstractTarget> |
setTargets(List<TT> targets) |
void |
simpleCheckOfConfiguration(AbstractConfiguration cfg)
Does a simple check of the config-rotator configuration.
|
boolean |
wasReconfigured(hudson.model.AbstractProject<?,?> project)
This method only makes sense when the variable justConfigured is set.
|
all, getConfiguration, getDescriptor, getDescriptors, getFeedPath, getFeedURL, getLastDieAction, getLastResult, getLastResults, getPreviousResult, setConfigurationpublic List<ClearCaseUCMTarget> targets
public ClearCaseUCM(net.praqma.clearcase.PVob pvob)
@DataBoundConstructor public ClearCaseUCM(String pvobName)
public String getPvobName()
public String getName()
AbstractConfigurationRotatorSCMgetName in class AbstractConfigurationRotatorSCMpublic ConfigRotatorChangeLogParser createChangeLogParser()
createChangeLogParser in class AbstractConfigurationRotatorSCMpublic List<ClearCaseUCMTarget> getCompareTargets(hudson.model.AbstractProject<?,?> project)
public boolean wasReconfigured(hudson.model.AbstractProject<?,?> project)
AbstractConfigurationRotatorSCMwasReconfigured in class AbstractConfigurationRotatorSCMpublic AbstractConfigurationRotatorSCM.Poller getPoller(hudson.model.AbstractProject<?,?> project, hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.TaskListener listener)
getPoller in class AbstractConfigurationRotatorSCMproject - launcher - workspace - listener - public AbstractConfigurationRotatorSCM.Performer<ClearCaseUCMConfiguration> getPerform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.BuildListener listener) throws IOException
AbstractConfigurationRotatorSCMgetPerform in class AbstractConfigurationRotatorSCMIOExceptionpublic void reconfigure(hudson.FilePath workspace,
hudson.model.TaskListener listener)
throws IOException
workspace - A FilePathlistener - A TaskListenerIOExceptionpublic void printConfiguration(PrintStream out, AbstractConfiguration cfg)
printConfiguration in class AbstractConfigurationRotatorSCMpublic void simpleCheckOfConfiguration(AbstractConfiguration cfg) throws ConfigurationRotatorException
cfg - config rotator configurationhudson.AbortExceptionConfigurationRotatorExceptionpublic AbstractConfiguration nextConfiguration(hudson.model.TaskListener listener, AbstractConfiguration configuration, hudson.FilePath workspace) throws ConfigurationRotatorException
nextConfiguration in class AbstractConfigurationRotatorSCMlistener - configuration - workspace - ConfigurationRotatorExceptionpublic net.praqma.clearcase.ucm.view.SnapshotView createView(hudson.model.TaskListener listener,
hudson.model.AbstractBuild<?,?> build,
ClearCaseUCMConfiguration configuration,
hudson.FilePath workspace,
net.praqma.clearcase.PVob pvob)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic <TT extends AbstractTarget> void setTargets(List<TT> targets)
setTargets in class AbstractConfigurationRotatorSCMpublic List<ClearCaseUCMTarget> getTargets()
getTargets in class AbstractConfigurationRotatorSCMpublic void setConfigurationByAction(hudson.model.AbstractProject<?,?> project,
ConfigurationRotatorBuildAction action)
throws IOException
setConfigurationByAction in class AbstractConfigurationRotatorSCMIOExceptionpublic AbstractConfigurationRotatorSCM.ChangeLogWriter getChangeLogWriter(File changeLogFile, hudson.model.BuildListener listener, hudson.model.AbstractBuild<?,?> build)
getChangeLogWriter in class AbstractConfigurationRotatorSCMCopyright © 2004-2014. All Rights Reserved.