public enum ObjectSpecType extends Enum<ObjectSpecType>
Modifier and Type | Method and Description |
---|---|
static ObjectSpecType |
from(String type) |
String |
toFindObject() |
String |
toSpecObject() |
static ObjectSpecType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectSpecType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectSpecType Branch
public static final ObjectSpecType Changeset
public static final ObjectSpecType Label
public static final ObjectSpecType Shelve
public static ObjectSpecType[] values()
for (ObjectSpecType c : ObjectSpecType.values()) System.out.println(c);
public static ObjectSpecType 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 ObjectSpecType from(String type)
public String toSpecObject()
public String toFindObject()
Copyright © 2016–2023. All rights reserved.