public enum GitLsRemoteViewType extends Enum<GitLsRemoteViewType>
Java class for GitLsRemoteViewType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="GitLsRemoteViewType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="TAGS"/>
<enumeration value="HEADS"/>
<enumeration value="TAGS_AND_HEADS"/>
<enumeration value="ALL"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ALL |
HEADS |
TAGS |
TAGS_AND_HEADS |
| Modifier and Type | Method and Description |
|---|---|
static GitLsRemoteViewType |
fromValue(String v) |
String |
value() |
static GitLsRemoteViewType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GitLsRemoteViewType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GitLsRemoteViewType TAGS
public static final GitLsRemoteViewType HEADS
public static final GitLsRemoteViewType TAGS_AND_HEADS
public static final GitLsRemoteViewType ALL
public static GitLsRemoteViewType[] values()
for (GitLsRemoteViewType c : GitLsRemoteViewType.values()) System.out.println(c);
public static GitLsRemoteViewType 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 value()
public static GitLsRemoteViewType fromValue(String v)
Copyright © 2020. All rights reserved.