public enum NotificationStrategy extends Enum<NotificationStrategy>
列挙型定数と説明 |
---|
ALL |
CHANGE |
FAILURE |
FAILURE_AND_FIXED |
NEW_FAILURE_AND_FIXED |
修飾子とタイプ | メソッドと説明 |
---|---|
static NotificationStrategy |
fromString(String text) |
boolean |
needNotification(hudson.model.AbstractBuild<?,?> build) |
static NotificationStrategy |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static NotificationStrategy[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final NotificationStrategy ALL
public static final NotificationStrategy FAILURE
public static final NotificationStrategy FAILURE_AND_FIXED
public static final NotificationStrategy NEW_FAILURE_AND_FIXED
public static final NotificationStrategy CHANGE
public static NotificationStrategy[] values()
for(NotificationStrategy c: NotificationStrategy.values()) System.out.println(c);
public static NotificationStrategy valueOf(String name)
name返される列挙型定数の名前
- IllegalArgumentException指定された名前を持つ定数を
- この列挙型が持っていない場合NullPointerException引数がnullの場合
public static NotificationStrategy fromString(String text)
public boolean needNotification(hudson.model.AbstractBuild<?,?> build)
Copyright © 2004-2014. All Rights Reserved.