net.praqma.jenkins.configrotator
Class AbstractConfigurationComponent

java.lang.Object
  extended by net.praqma.jenkins.configrotator.AbstractConfigurationComponent
All Implemented Interfaces:
Serializable, Feedable
Direct Known Subclasses:
ClearCaseUCMConfigurationComponent, GitConfigurationComponent

public abstract class AbstractConfigurationComponent
extends Object
implements Serializable, Feedable

Abstract class defining one component of a configuration

Author:
wolfgang
See Also:
Serialized Form

Nested Class Summary
static class AbstractConfigurationComponent.Element
           
 
Field Summary
protected  boolean changedLast
           
protected  boolean fixed
           
 
Constructor Summary
AbstractConfigurationComponent(boolean fixed)
           
 
Method Summary
protected  String getBasicHtml(StringBuilder builder, AbstractConfigurationComponent.Element... elements)
           
abstract  String getComponentName()
           
 net.praqma.util.xml.feed.Feed getFeed(File feedFile, String url, Date updated)
           
 net.praqma.util.xml.feed.Entry getFeedEntry(hudson.model.AbstractBuild<?,?> build, Date updated)
           
 File getFeedFile(File path)
           
 boolean isChangedLast()
           
 boolean isFixed()
           
abstract  String prettyPrint()
           
 void setChangedLast(boolean b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.praqma.jenkins.configrotator.Feedable
getFeedId, getFeedName, toHtml
 

Field Detail

changedLast

protected boolean changedLast

fixed

protected boolean fixed
Constructor Detail

AbstractConfigurationComponent

public AbstractConfigurationComponent(boolean fixed)
Method Detail

isChangedLast

public boolean isChangedLast()

setChangedLast

public void setChangedLast(boolean b)

isFixed

public boolean isFixed()

getComponentName

public abstract String getComponentName()

prettyPrint

public abstract String prettyPrint()

getFeedFile

public File getFeedFile(File path)
Specified by:
getFeedFile in interface Feedable

getFeed

public net.praqma.util.xml.feed.Feed getFeed(File feedFile,
                                             String url,
                                             Date updated)
                                      throws net.praqma.util.xml.feed.FeedException,
                                             IOException
Throws:
net.praqma.util.xml.feed.FeedException
IOException

getFeedEntry

public net.praqma.util.xml.feed.Entry getFeedEntry(hudson.model.AbstractBuild<?,?> build,
                                                   Date updated)
Specified by:
getFeedEntry in interface Feedable

getBasicHtml

protected String getBasicHtml(StringBuilder builder,
                              AbstractConfigurationComponent.Element... elements)


Copyright © 2004-2013. All Rights Reserved.