public enum StandardSignableObjectType extends Enum<StandardSignableObjectType> implements SignableObjectType
retrieved
.Modifier and Type | Method and Description |
---|---|
static Optional<StandardSignableObjectType> |
fromId(String id) |
String |
getId() |
static StandardSignableObjectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandardSignableObjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardSignableObjectType COMMIT
public static final StandardSignableObjectType TAG
public static StandardSignableObjectType[] values()
for (StandardSignableObjectType c : StandardSignableObjectType.values()) System.out.println(c);
public static StandardSignableObjectType 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 null@Nonnull public static Optional<StandardSignableObjectType> fromId(@Nullable String id)
@Nonnull public String getId()
getId
in interface SignableObjectType
Copyright © 2019 Atlassian. All rights reserved.