net.praqma.jenkins.configrotator
Class AbstractConfigurationRotatorSCM.Performer<C>

java.lang.Object
  extended by net.praqma.jenkins.configrotator.AbstractConfigurationRotatorSCM.Performer<C>
Direct Known Subclasses:
ClearCaseUCM.UCMPerformer, Git.GitPerformer
Enclosing class:
AbstractConfigurationRotatorSCM

public abstract class AbstractConfigurationRotatorSCM.Performer<C>
extends Object


Field Summary
protected  hudson.model.AbstractBuild<?,?> build
           
protected  hudson.Launcher launcher
           
protected  hudson.model.BuildListener listener
           
protected  PrintStream out
           
protected  hudson.FilePath workspace
           
 
Constructor Summary
AbstractConfigurationRotatorSCM.Performer(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.FilePath workspace, hudson.model.BuildListener listener)
           
 
Method Summary
abstract  void checkConfiguration(C configuration)
           
abstract  void createWorkspace(C configuration)
           
abstract  C getInitialConfiguration()
           
abstract  C getNextConfiguration(ConfigurationRotatorBuildAction action)
           
 Class getSCMClass()
           
abstract  void print(C configuration)
           
 void save(C configuration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

build

protected hudson.model.AbstractBuild<?,?> build

launcher

protected hudson.Launcher launcher

workspace

protected hudson.FilePath workspace

listener

protected hudson.model.BuildListener listener

out

protected PrintStream out
Constructor Detail

AbstractConfigurationRotatorSCM.Performer

public AbstractConfigurationRotatorSCM.Performer(hudson.model.AbstractBuild<?,?> build,
                                                 hudson.Launcher launcher,
                                                 hudson.FilePath workspace,
                                                 hudson.model.BuildListener listener)
Method Detail

getInitialConfiguration

public abstract C getInitialConfiguration()
                                   throws ConfigurationRotatorException,
                                          IOException
Throws:
ConfigurationRotatorException
IOException

getNextConfiguration

public abstract C getNextConfiguration(ConfigurationRotatorBuildAction action)
                                throws ConfigurationRotatorException
Throws:
ConfigurationRotatorException

checkConfiguration

public abstract void checkConfiguration(C configuration)
                                 throws ConfigurationRotatorException
Throws:
ConfigurationRotatorException

createWorkspace

public abstract void createWorkspace(C configuration)
                              throws ConfigurationRotatorException,
                                     IOException,
                                     InterruptedException
Throws:
ConfigurationRotatorException
IOException
InterruptedException

getSCMClass

public Class getSCMClass()

print

public abstract void print(C configuration)

save

public void save(C configuration)


Copyright © 2004-2013. All Rights Reserved.