|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ConfigHistoryListenerHelper>
hudson.plugins.jobConfigHistory.ConfigHistoryListenerHelper
public enum ConfigHistoryListenerHelper
Defines some helper functions needed by JobConfigHistoryJobListener and
JobConfigHistorySaveableListener.
| Enum Constant Summary | |
|---|---|
CHANGED
Helper for job change. |
|
CREATED
Helper for job creation. |
|
DELETED
Helper for job deleted. |
|
RENAMED
Helper for job rename. |
|
| Method Summary | |
|---|---|
void |
createNewHistoryEntry(hudson.XmlFile xmlFile)
Creates a new backup of the job configuration. |
static ConfigHistoryListenerHelper |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ConfigHistoryListenerHelper[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ConfigHistoryListenerHelper CREATED
public static final ConfigHistoryListenerHelper RENAMED
public static final ConfigHistoryListenerHelper CHANGED
public static final ConfigHistoryListenerHelper DELETED
| Method Detail |
|---|
public static ConfigHistoryListenerHelper[] values()
for (ConfigHistoryListenerHelper c : ConfigHistoryListenerHelper.values()) System.out.println(c);
public static ConfigHistoryListenerHelper valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic final void createNewHistoryEntry(hudson.XmlFile xmlFile)
xmlFile - configuration file for the item we want to backup
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||