br.com.objectos.git
Enum ObjectKind
java.lang.Object
java.lang.Enum<ObjectKind>
br.com.objectos.git.ObjectKind
- All Implemented Interfaces:
- Serializable, Comparable<ObjectKind>
public enum ObjectKind
- extends Enum<ObjectKind>
|
Method Summary |
static ObjectKind |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ObjectKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
BLOB
public static final ObjectKind BLOB
COMMIT
public static final ObjectKind COMMIT
TREE
public static final ObjectKind TREE
values
public static ObjectKind[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ObjectKind c : ObjectKind.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ObjectKind valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2020–2021 Objectos Software LTDA. All rights reserved.