hudson.plugins.helpers
列挙型 AbstractMavenReporterImpl.MojoExecutionReportingMode

java.lang.Object
  上位を拡張 java.lang.Enum<AbstractMavenReporterImpl.MojoExecutionReportingMode>
      上位を拡張 hudson.plugins.helpers.AbstractMavenReporterImpl.MojoExecutionReportingMode
すべての実装されたインタフェース:
Serializable, Comparable<AbstractMavenReporterImpl.MojoExecutionReportingMode>
含まれているクラス:
AbstractMavenReporterImpl

protected static enum AbstractMavenReporterImpl.MojoExecutionReportingMode
extends Enum<AbstractMavenReporterImpl.MojoExecutionReportingMode>

The reporting mode.


列挙型定数の概要
ALWAYS_REPORT_STABLE
          Always runs the Ghostwriter, even if the mojo executed with errors.
ONLY_REPORT_ON_SUCCESS
          Only runs the Ghostwriter when the mojo executed successfully.
REPORT_UNSTABLE_ON_ERROR
          Always runs the Ghostwriter, if the mojo executed with errors set the build to UNSTABLE.
 
メソッドの概要
static AbstractMavenReporterImpl.MojoExecutionReportingMode valueOf(String name)
          指定した名前を持つこの型の列挙型定数を返します。
static AbstractMavenReporterImpl.MojoExecutionReportingMode[] values()
          この列挙型の定数を含む配列を宣言されている順序で返します。
 
クラス java.lang.Enum から継承されたメソッド
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
クラス java.lang.Object から継承されたメソッド
getClass, notify, notifyAll, wait, wait, wait
 

列挙型定数の詳細

ONLY_REPORT_ON_SUCCESS

public static final AbstractMavenReporterImpl.MojoExecutionReportingMode ONLY_REPORT_ON_SUCCESS
Only runs the Ghostwriter when the mojo executed successfully.


ALWAYS_REPORT_STABLE

public static final AbstractMavenReporterImpl.MojoExecutionReportingMode ALWAYS_REPORT_STABLE
Always runs the Ghostwriter, even if the mojo executed with errors.


REPORT_UNSTABLE_ON_ERROR

public static final AbstractMavenReporterImpl.MojoExecutionReportingMode REPORT_UNSTABLE_ON_ERROR
Always runs the Ghostwriter, if the mojo executed with errors set the build to UNSTABLE.

メソッドの詳細

values

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

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

valueOf

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

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


Copyright © 2004-2011. All Rights Reserved.