public static enum ProtobufMessages.FactHandle.HandleType extends Enum<ProtobufMessages.FactHandle.HandleType> implements com.google.protobuf.ProtocolMessageEnum
org.drools.core.marshalling.FactHandle.HandleType
Enum Constant and Description |
---|
EVENT
EVENT = 4; |
FACT
FACT = 2; |
INITIAL_FACT
INITIAL_FACT = 1; |
QUERY
QUERY = 3; |
Modifier and Type | Field and Description |
---|---|
static int |
EVENT_VALUE
EVENT = 4; |
static int |
FACT_VALUE
FACT = 2; |
static int |
INITIAL_FACT_VALUE
INITIAL_FACT = 1; |
static int |
QUERY_VALUE
QUERY = 3; |
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<ProtobufMessages.FactHandle.HandleType> |
internalGetValueMap() |
static ProtobufMessages.FactHandle.HandleType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ProtobufMessages.FactHandle.HandleType |
valueOf(int value) |
static ProtobufMessages.FactHandle.HandleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtobufMessages.FactHandle.HandleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtobufMessages.FactHandle.HandleType INITIAL_FACT
INITIAL_FACT = 1;
public static final ProtobufMessages.FactHandle.HandleType FACT
FACT = 2;
public static final ProtobufMessages.FactHandle.HandleType QUERY
QUERY = 3;
public static final ProtobufMessages.FactHandle.HandleType EVENT
EVENT = 4;
public static final int INITIAL_FACT_VALUE
INITIAL_FACT = 1;
public static final int FACT_VALUE
FACT = 2;
public static final int QUERY_VALUE
QUERY = 3;
public static final int EVENT_VALUE
EVENT = 4;
public static ProtobufMessages.FactHandle.HandleType[] values()
for (ProtobufMessages.FactHandle.HandleType c : ProtobufMessages.FactHandle.HandleType.values()) System.out.println(c);
public static ProtobufMessages.FactHandle.HandleType 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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static ProtobufMessages.FactHandle.HandleType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ProtobufMessages.FactHandle.HandleType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ProtobufMessages.FactHandle.HandleType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.