public static enum FactHandle.State extends Enum<FactHandle.State>
Enum Constant and Description |
---|
ALL |
LOGICAL
A fact that has been logically inserted into the working memory
|
STATED
A fact that has been explicitly stated into the working memory
|
Modifier and Type | Method and Description |
---|---|
boolean |
isLogical() |
boolean |
isStated() |
static FactHandle.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FactHandle.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FactHandle.State ALL
public static final FactHandle.State STATED
public static final FactHandle.State LOGICAL
public static FactHandle.State[] values()
for (FactHandle.State c : FactHandle.State.values()) System.out.println(c);
public static FactHandle.State 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 boolean isStated()
public boolean isLogical()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.