public static enum Constants.Severity extends Enum<Constants.Severity> implements com.google.protobuf.ProtocolMessageEnum
Severity| Enum Constant and Description |
|---|
BLOCKER
BLOCKER = 4; |
CRITICAL
CRITICAL = 3; |
INFO
INFO = 0; |
MAJOR
MAJOR = 2; |
MINOR
MINOR = 1; |
| Modifier and Type | Field and Description |
|---|---|
static int |
BLOCKER_VALUE
BLOCKER = 4; |
static int |
CRITICAL_VALUE
CRITICAL = 3; |
static int |
INFO_VALUE
INFO = 0; |
static int |
MAJOR_VALUE
MAJOR = 2; |
static int |
MINOR_VALUE
MINOR = 1; |
| Modifier and Type | Method and Description |
|---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Constants.Severity> |
internalGetValueMap() |
static Constants.Severity |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Constants.Severity |
valueOf(int value) |
static Constants.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.Severity INFO
INFO = 0;public static final Constants.Severity MINOR
MINOR = 1;public static final Constants.Severity MAJOR
MAJOR = 2;public static final Constants.Severity CRITICAL
CRITICAL = 3;public static final Constants.Severity BLOCKER
BLOCKER = 4;public static final int INFO_VALUE
INFO = 0;public static final int MINOR_VALUE
MINOR = 1;public static final int MAJOR_VALUE
MAJOR = 2;public static final int CRITICAL_VALUE
CRITICAL = 3;public static final int BLOCKER_VALUE
BLOCKER = 4;public static Constants.Severity[] values()
for (Constants.Severity c : Constants.Severity.values()) System.out.println(c);
public static Constants.Severity 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 final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static Constants.Severity valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Constants.Severity> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Constants.Severity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2009–2015 SonarSource. All rights reserved.