net.praqma.jenkins.configrotator
Class AbstractConfigurationRotatorSCM.ChangeLogWriter<C extends AbstractConfigurationComponent,T extends AbstractConfiguration<C>>

java.lang.Object
  extended by net.praqma.jenkins.configrotator.AbstractConfigurationRotatorSCM.ChangeLogWriter<C,T>
Direct Known Subclasses:
ClearCaseUCM.UCMChangeLogWriter, Git.GitChangeLogWriter
Enclosing class:
AbstractConfigurationRotatorSCM

public abstract class AbstractConfigurationRotatorSCM.ChangeLogWriter<C extends AbstractConfigurationComponent,T extends AbstractConfiguration<C>>
extends Object


Field Summary
protected  hudson.model.AbstractBuild<?,?> build
           
protected  File changeLogFile
           
protected  hudson.model.BuildListener listener
           
 
Constructor Summary
protected AbstractConfigurationRotatorSCM.ChangeLogWriter(File changeLogFile, hudson.model.BuildListener listener, hudson.model.AbstractBuild<?,?> build)
           
 
Method Summary
 List<ConfigRotatorChangeLogEntry> getChangeLogEntries(T configuration)
           
protected abstract  List<ConfigRotatorChangeLogEntry> getChangeLogEntries(T configuration, C configurationComponent)
           
 C getComponent(T configuration)
           
 void write(List<ConfigRotatorChangeLogEntry> entries)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

changeLogFile

protected File changeLogFile

listener

protected hudson.model.BuildListener listener

build

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

AbstractConfigurationRotatorSCM.ChangeLogWriter

protected AbstractConfigurationRotatorSCM.ChangeLogWriter(File changeLogFile,
                                                          hudson.model.BuildListener listener,
                                                          hudson.model.AbstractBuild<?,?> build)
Method Detail

getComponent

public C getComponent(T configuration)
                                                      throws ConfigurationRotatorException
Throws:
ConfigurationRotatorException

getChangeLogEntries

protected abstract List<ConfigRotatorChangeLogEntry> getChangeLogEntries(T configuration,
                                                                         C configurationComponent)
                                                                  throws ConfigurationRotatorException
Throws:
ConfigurationRotatorException

getChangeLogEntries

public List<ConfigRotatorChangeLogEntry> getChangeLogEntries(T configuration)
                                                      throws ConfigurationRotatorException
Throws:
ConfigurationRotatorException

write

public void write(List<ConfigRotatorChangeLogEntry> entries)


Copyright © 2004-2013. All Rights Reserved.