public static enum PrePushHandler.Result extends java.lang.Enum<PrePushHandler.Result>
Enum Constant and Description |
---|
ABORT
Push is not allowed.
|
ABORT_AND_CLOSE
Push is not allowed.
|
OK
Push is allowed.
|
Modifier and Type | Method and Description |
---|---|
static PrePushHandler.Result |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrePushHandler.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrePushHandler.Result OK
public static final PrePushHandler.Result ABORT
public static final PrePushHandler.Result ABORT_AND_CLOSE
public static PrePushHandler.Result[] values()
for (PrePushHandler.Result c : PrePushHandler.Result.values()) System.out.println(c);
public static PrePushHandler.Result valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null