public static enum CommandException.Option extends EnumSE<CommandException.Option>
CommandRunner が理解できる特定のオプション。| 列挙型定数と説明 |
|---|
HIDE_MESSAGE 例外メッセージを非表示にします。 |
RETHROW 例外を処理するのではなく、再スローしてください。 |
SHOW_USAGE 基本的な CLI の使用情報を出力します。 |
STACK_TRACE 例外のスタックトレースを出力します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
static CommandException.Option | valueOf(StringSE name) 指定された名前を持つこの型の列挙定数を返します。 |
static CommandException.Option[] | values() この列挙型の定数を含む配列を、宣言されている順序で返します。 |
cloneSE, compareToSE, equalsSE, finalizeSE, getDeclaringClassSE, hashCodeSE, nameSE, ordinalSE, toStringSE, valueOfSEgetClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic static final CommandException.Option HIDE_MESSAGE
public static final CommandException.Option SHOW_USAGE
public static final CommandException.Option STACK_TRACE
public static final CommandException.Option RETHROW
public static CommandException.Option[] values()
for (CommandException.Option c : CommandException.Option.values()) System.out.println(c);
public static CommandException.Option valueOf(StringSE name)
name - 返される列挙定数の名前。IllegalArgumentExceptionSE - この列挙型に指定された名前の定数がない場合 NullPointerExceptionSE - 引数が null の場合 Copyright © 2018 Pivotal Software, Inc.. All rights reserved.