|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<EditConfig.ErrorOption>
com.vhosting.netconf.EditConfig.ErrorOption
public static enum EditConfig.ErrorOption
This enumeration lists all kinds of error options. Through these you can specify how the server should behave if there are any errors.
Enum Constant Summary | |
---|---|
continue_on_error
Continue to process configuration data on error; error is recorded, and negative response is generated if any errors occur. |
|
rollback_on_error
If an error condition occurs such that an error severity RPC error element is generated, the server will stop processing the edit-config operation and restore the specified configuration to its complete state at the start of this edit-config operation. |
|
stop_on_error
Abort the edit-config operation on first error. |
Method Summary | |
---|---|
static EditConfig.ErrorOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EditConfig.ErrorOption[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final EditConfig.ErrorOption stop_on_error
public static final EditConfig.ErrorOption continue_on_error
public static final EditConfig.ErrorOption rollback_on_error
Method Detail |
---|
public static EditConfig.ErrorOption[] values()
for (EditConfig.ErrorOption c : EditConfig.ErrorOption.values()) System.out.println(c);
public static EditConfig.ErrorOption 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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |