public enum IfExistsType extends Enum<IfExistsType>
Enum Constant and Description |
---|
FAIL |
RETURN |
RETURN_OR_UPDATE |
UPDATE |
Modifier and Type | Method and Description |
---|---|
static IfExistsType |
fromValue(String value) |
String |
toString() |
String |
value() |
static IfExistsType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IfExistsType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IfExistsType FAIL
public static final IfExistsType UPDATE
public static final IfExistsType RETURN
public static final IfExistsType RETURN_OR_UPDATE
public static IfExistsType[] values()
for (IfExistsType c : IfExistsType.values()) System.out.println(c);
public static IfExistsType 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 String toString()
toString
in class Enum<IfExistsType>
public String value()
public static IfExistsType fromValue(String value)
Copyright © 2020 Red Hat. All rights reserved.