public static enum RefSpec.WildcardMode extends Enum<RefSpec.WildcardMode>
Enum Constant and Description |
---|
ALLOW_MISMATCH
Allow refspecs with an asterisk on only one side.
|
REQUIRE_MATCH
Reject refspecs with an asterisk on the source side and not the
destination side or vice versa.
|
Modifier and Type | Method and Description |
---|---|
static RefSpec.WildcardMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RefSpec.WildcardMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RefSpec.WildcardMode REQUIRE_MATCH
public static final RefSpec.WildcardMode ALLOW_MISMATCH
public static RefSpec.WildcardMode[] values()
for (RefSpec.WildcardMode c : RefSpec.WildcardMode.values()) System.out.println(c);
public static RefSpec.WildcardMode 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 © 2018 Eclipse JGit Project. All rights reserved.