public enum ModifyAction extends Enum<ModifyAction>
Enum Constant and Description |
---|
CREATE |
DELETE |
MERGE |
NONE |
REMOVE |
REPLACE |
Modifier and Type | Method and Description |
---|---|
static ModifyAction |
fromXmlValue(String xmlNameOfAction) |
boolean |
isAsDefaultPermitted()
Check if this operation is a candidate for
default-operation argument. |
boolean |
isOnElementPermitted() |
static ModifyAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModifyAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModifyAction MERGE
public static final ModifyAction REPLACE
public static final ModifyAction CREATE
public static final ModifyAction DELETE
public static final ModifyAction REMOVE
public static final ModifyAction NONE
public static ModifyAction[] values()
for (ModifyAction c : ModifyAction.values()) System.out.println(c);
public static ModifyAction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ModifyAction fromXmlValue(String xmlNameOfAction)
public boolean isAsDefaultPermitted()
default-operation
argument.default-operation
.public boolean isOnElementPermitted()
Copyright © 2019 OpenDaylight. All rights reserved.