public static enum RevisionInfo.Type extends Enum<RevisionInfo.Type>
Enum Constant and Description |
---|
AVAILABLE_DETACHED |
AVAILABLE_NORMAL |
AVAILABLE_POINTER |
MISSING |
Modifier and Type | Method and Description |
---|---|
static RevisionInfo.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RevisionInfo.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RevisionInfo.Type AVAILABLE_NORMAL
public static final RevisionInfo.Type AVAILABLE_POINTER
public static final RevisionInfo.Type AVAILABLE_DETACHED
public static final RevisionInfo.Type MISSING
public static RevisionInfo.Type[] values()
for (RevisionInfo.Type c : RevisionInfo.Type.values()) System.out.println(c);
public static RevisionInfo.Type 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 nullCopyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html