hudson.plugins.jobConfigHistory
列挙型 ConfigHistoryListenerHelper

java.lang.Object
  上位を拡張 java.lang.Enum<ConfigHistoryListenerHelper>
      上位を拡張 hudson.plugins.jobConfigHistory.ConfigHistoryListenerHelper
すべての実装されたインタフェース:
Serializable, Comparable<ConfigHistoryListenerHelper>

public enum ConfigHistoryListenerHelper
extends Enum<ConfigHistoryListenerHelper>

Defines some helper functions needed by JobConfigHistoryJobListener and JobConfigHistorySaveableListener.

作成者:
mfriedenhagen

列挙型定数の概要
CHANGED
          Helper for job change.
CREATED
          Helper for job creation.
DELETED
          Helper for job deleted.
RENAMED
          Helper for job rename.
 
メソッドの概要
 void createNewHistoryEntry(hudson.XmlFile xmlFile)
          Creates a new backup of the job configuration.
static ConfigHistoryListenerHelper valueOf(String name)
          指定した名前を持つこの型の列挙型定数を返します。
static ConfigHistoryListenerHelper[] values()
          この列挙型の定数を含む配列を宣言されている順序で返します。
 
クラス java.lang.Enum から継承されたメソッド
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
クラス java.lang.Object から継承されたメソッド
getClass, notify, notifyAll, wait, wait, wait
 

列挙型定数の詳細

CREATED

public static final ConfigHistoryListenerHelper CREATED
Helper for job creation.


RENAMED

public static final ConfigHistoryListenerHelper RENAMED
Helper for job rename.


CHANGED

public static final ConfigHistoryListenerHelper CHANGED
Helper for job change.


DELETED

public static final ConfigHistoryListenerHelper DELETED
Helper for job deleted.

メソッドの詳細

values

public static ConfigHistoryListenerHelper[] values()
この列挙型の定数を含む配列を宣言されている順序で返します。 このメソッドは次のようにして定数を反復するために使用できます:
for (ConfigHistoryListenerHelper c : ConfigHistoryListenerHelper.values())
    System.out.println(c);

戻り値:
この列挙型の定数を宣言されている順序で含む配列

valueOf

public static ConfigHistoryListenerHelper valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。 文字列は、この型の列挙型定数を宣言するのに使用した識別子と厳密に 一致している必要があります (余分な空白文字を含めることはできません)。

パラメータ:
name - 返される列挙型定数の名前
戻り値:
指定された名前を持つ列挙型定数
例外:
IllegalArgumentException - 指定された名前を持つ定数を この列挙型が持っていない場合
NullPointerException - 引数が null の場合

createNewHistoryEntry

public final void createNewHistoryEntry(hudson.XmlFile xmlFile)
Creates a new backup of the job configuration.

パラメータ:
xmlFile - configuration file for the item we want to backup


Copyright © 2004-2011. All Rights Reserved.