public abstract class AbstractConfigurationRotatorSCM extends Object implements hudson.model.Describable<AbstractConfigurationRotatorSCM>, hudson.ExtensionPoint
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractConfigurationRotatorSCM.ChangeLogWriter<C extends AbstractConfigurationComponent,T extends AbstractConfiguration<C>> |
class |
AbstractConfigurationRotatorSCM.Performer<C> |
class |
AbstractConfigurationRotatorSCM.Poller<C extends AbstractConfiguration> |
| Modifier and Type | Field and Description |
|---|---|
protected AbstractConfiguration |
projectConfiguration |
| Constructor and Description |
|---|
AbstractConfigurationRotatorSCM() |
| Modifier and Type | Method and Description |
|---|---|
static hudson.DescriptorExtensionList<AbstractConfigurationRotatorSCM,ConfigurationRotatorSCMDescriptor<AbstractConfigurationRotatorSCM>> |
all()
All registered
AbstractConfigurationRotatorSCMs. |
abstract ConfigRotatorChangeLogParser |
createChangeLogParser() |
abstract AbstractConfigurationRotatorSCM.ChangeLogWriter |
getChangeLogWriter(File changeLogFile,
hudson.model.BuildListener listener,
hudson.model.AbstractBuild<?,?> build) |
AbstractConfiguration |
getConfiguration() |
hudson.model.Descriptor<AbstractConfigurationRotatorSCM> |
getDescriptor() |
static List<ConfigurationRotatorSCMDescriptor<?>> |
getDescriptors() |
File |
getFeedPath() |
String |
getFeedURL() |
DiedBecauseAction |
getLastDieAction(hudson.model.AbstractProject<?,?> project) |
ConfigurationRotatorBuildAction |
getLastResult(hudson.model.AbstractProject<?,?> project,
Class<? extends AbstractConfigurationRotatorSCM> clazz) |
ArrayList<ConfigurationRotatorBuildAction> |
getLastResults(hudson.model.AbstractProject<?,?> project,
Class<? extends AbstractConfigurationRotatorSCM> clazz,
int limit) |
abstract String |
getName()
Return the name of the type
|
abstract AbstractConfigurationRotatorSCM.Performer |
getPerform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener)
Perform the actual config rotation
|
abstract AbstractConfigurationRotatorSCM.Poller |
getPoller(hudson.model.AbstractProject<?,?> project,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener) |
ConfigurationRotatorBuildAction |
getPreviousResult(hudson.model.AbstractBuild<?,?> build,
Class<? extends AbstractConfigurationRotatorSCM> clazz) |
abstract <TT extends AbstractTarget> |
getTargets() |
abstract AbstractConfiguration |
nextConfiguration(hudson.model.TaskListener listener,
AbstractConfiguration configuration,
hudson.FilePath workspace) |
void |
printConfiguration(PrintStream out,
AbstractConfiguration cfg) |
void |
setConfiguration(AbstractConfiguration configuration) |
abstract void |
setConfigurationByAction(hudson.model.AbstractProject<?,?> project,
ConfigurationRotatorBuildAction action) |
abstract <TT extends AbstractTarget> |
setTargets(List<TT> targets) |
abstract boolean |
wasReconfigured(hudson.model.AbstractProject<?,?> project)
This method only makes sense when the variable justConfigured is set.
|
protected AbstractConfiguration projectConfiguration
public abstract String getName()
public void setConfiguration(AbstractConfiguration configuration)
public AbstractConfiguration getConfiguration()
public abstract AbstractConfiguration nextConfiguration(hudson.model.TaskListener listener, AbstractConfiguration configuration, hudson.FilePath workspace) throws ConfigurationRotatorException
ConfigurationRotatorExceptionpublic abstract AbstractConfigurationRotatorSCM.Poller getPoller(hudson.model.AbstractProject<?,?> project, hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.TaskListener listener)
public abstract AbstractConfigurationRotatorSCM.Performer getPerform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.BuildListener listener) throws IOException
build - launcher - workspace - listener - IOExceptionpublic abstract void setConfigurationByAction(hudson.model.AbstractProject<?,?> project,
ConfigurationRotatorBuildAction action)
throws IOException
IOExceptionpublic abstract boolean wasReconfigured(hudson.model.AbstractProject<?,?> project)
project - public abstract ConfigRotatorChangeLogParser createChangeLogParser()
public abstract <TT extends AbstractTarget> void setTargets(List<TT> targets)
public abstract <TT extends AbstractTarget> List<TT> getTargets()
public void printConfiguration(PrintStream out, AbstractConfiguration cfg)
public abstract AbstractConfigurationRotatorSCM.ChangeLogWriter getChangeLogWriter(File changeLogFile, hudson.model.BuildListener listener, hudson.model.AbstractBuild<?,?> build)
changeLogFile - listener - build - public hudson.model.Descriptor<AbstractConfigurationRotatorSCM> getDescriptor()
getDescriptor in interface hudson.model.Describable<AbstractConfigurationRotatorSCM>public static hudson.DescriptorExtensionList<AbstractConfigurationRotatorSCM,ConfigurationRotatorSCMDescriptor<AbstractConfigurationRotatorSCM>> all()
AbstractConfigurationRotatorSCMs.public static List<ConfigurationRotatorSCMDescriptor<?>> getDescriptors()
public ConfigurationRotatorBuildAction getLastResult(hudson.model.AbstractProject<?,?> project, Class<? extends AbstractConfigurationRotatorSCM> clazz)
public DiedBecauseAction getLastDieAction(hudson.model.AbstractProject<?,?> project)
public ConfigurationRotatorBuildAction getPreviousResult(hudson.model.AbstractBuild<?,?> build, Class<? extends AbstractConfigurationRotatorSCM> clazz)
public ArrayList<ConfigurationRotatorBuildAction> getLastResults(hudson.model.AbstractProject<?,?> project, Class<? extends AbstractConfigurationRotatorSCM> clazz, int limit)
public File getFeedPath()
public String getFeedURL()
Copyright © 2004-2014. All Rights Reserved.