net.praqma.jenkins.configrotator
Class AbstractConfiguration<T extends AbstractConfigurationComponent>
java.lang.Object
net.praqma.jenkins.configrotator.AbstractConfiguration<T>
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ClearCaseUCMConfiguration, GitConfiguration
public abstract class AbstractConfiguration<T extends AbstractConfigurationComponent>
- extends Object
- implements Serializable
- See Also:
- Serialized Form
list
protected List<T extends AbstractConfigurationComponent> list
description
protected String description
AbstractConfiguration
public AbstractConfiguration()
difference
public abstract List<ConfigRotatorChangeLogEntry> difference(T component,
T other)
throws ConfigurationRotatorException
- Throws:
ConfigurationRotatorException
getView
public String getView(Class<?> clazz)
getChangedComponent
public AbstractConfigurationComponent getChangedComponent()
getChangedComponentIndex
public int getChangedComponentIndex()
- Gets the index of the changed component.
- Returns:
- the index of the changed component. If there is no changed component default return value is -1
toString
public String toString()
- Overrides:
toString in class Object
getList
public List<T> getList()
clone
public abstract <T extends AbstractConfiguration> T clone()
toHtml
public abstract String toHtml()
getDescription
public String getDescription(hudson.model.AbstractBuild<?,?> build)
basicHtml
public String basicHtml(StringBuilder builder,
String... titles)
Copyright © 2004-2013. All Rights Reserved.