public class EnabledBoolean extends Object implements Enabled, Externalizable
Modifier and Type | Field and Description |
---|---|
static Enabled |
ENABLED_FALSE |
static Enabled |
ENABLED_TRUE |
Constructor and Description |
---|
EnabledBoolean() |
EnabledBoolean(boolean value) |
Modifier and Type | Method and Description |
---|---|
boolean |
getValue(Tuple tuple,
Declaration[] declrs,
RuleImpl rule,
WorkingMemory workingMemory) |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public static final Enabled ENABLED_TRUE
public static final Enabled ENABLED_FALSE
public EnabledBoolean()
public EnabledBoolean(boolean value)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public boolean getValue(Tuple tuple, Declaration[] declrs, RuleImpl rule, WorkingMemory workingMemory)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.