public enum RefChangeType extends Enum<RefChangeType>
| Modifier and Type | Method and Description |
|---|---|
static RefChangeType |
fromId(int id) |
int |
getId() |
static RefChangeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RefChangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RefChangeType ADD
public static final RefChangeType DELETE
public static final RefChangeType UPDATE
public static RefChangeType[] values()
for (RefChangeType c : RefChangeType.values()) System.out.println(c);
public static RefChangeType 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 null@Nonnull public static RefChangeType fromId(int id)
id - the unique identifier for the type (not its ordinal())IllegalArgumentException - if the specified ID does not match a typepublic int getId()
Copyright © 2023 Atlassian. All rights reserved.