public static enum VerifySignatureCommand.VerifyMode extends Enum<VerifySignatureCommand.VerifyMode>
VerifySignatureCommand
.Enum Constant and Description |
---|
ANY
Handle any object type, ignore anything that is not a commit or tag.
|
COMMITS
Handle only commits; throw a
WrongObjectTypeException for
anything else. |
TAGS
Handle only tags; throw a
WrongObjectTypeException for
anything else. |
Modifier and Type | Method and Description |
---|---|
static VerifySignatureCommand.VerifyMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VerifySignatureCommand.VerifyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VerifySignatureCommand.VerifyMode ANY
public static final VerifySignatureCommand.VerifyMode COMMITS
WrongObjectTypeException
for
anything else.public static final VerifySignatureCommand.VerifyMode TAGS
WrongObjectTypeException
for
anything else.public static VerifySignatureCommand.VerifyMode[] values()
for (VerifySignatureCommand.VerifyMode c : VerifySignatureCommand.VerifyMode.values()) System.out.println(c);
public static VerifySignatureCommand.VerifyMode 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 © 2021 Eclipse JGit Project. All rights reserved.