public class RuleResult extends Object implements Serializable
IDecisionRule application,
which contains the rule applied, the boolean result and the category assigned (if any).| Modifier and Type | Field and Description |
|---|---|
static String |
alertURL |
protected IDecisionCategory |
category |
static String |
categoryURL |
protected org.openscience.cdk.interfaces.IAtomContainer |
molecule |
static String |
prefix |
protected boolean |
result |
static String |
resultURL |
protected IDecisionRule |
rule |
static String |
ruleURL |
protected boolean |
silent |
protected boolean |
web |
protected static String |
wwwAlertFormat |
| Constructor and Description |
|---|
RuleResult() |
RuleResult(IDecisionRule rule,
boolean result) |
RuleResult(IDecisionRule rule,
boolean result,
IDecisionCategory category) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
StringBuffer |
explain(boolean verbose) |
StringBuffer |
explain(boolean verbose,
int ruleIndex) |
IDecisionCategory |
getCategory() |
org.openscience.cdk.interfaces.IAtomContainer |
getMolecule() |
IDecisionRule |
getRule() |
boolean |
isResult() |
boolean |
isSilent() |
boolean |
isWeb() |
void |
setCategory(IDecisionCategory category) |
void |
setMolecule(org.openscience.cdk.interfaces.IAtomContainer molecule) |
void |
setResult(boolean result) |
void |
setRule(IDecisionRule rule) |
void |
setSilent(boolean silent) |
void |
setWeb(boolean web) |
String |
toString() |
public static final String prefix
public static final String ruleURL
public static final String categoryURL
public static final String alertURL
public static final String resultURL
protected IDecisionRule rule
protected boolean result
protected IDecisionCategory category
protected transient org.openscience.cdk.interfaces.IAtomContainer molecule
protected boolean silent
protected boolean web
protected static final String wwwAlertFormat
public RuleResult()
public RuleResult(IDecisionRule rule, boolean result)
public RuleResult(IDecisionRule rule, boolean result, IDecisionCategory category)
public boolean isWeb()
public void setWeb(boolean web)
public boolean isResult()
public void setResult(boolean result)
result - The result to set.public IDecisionCategory getCategory()
public void setCategory(IDecisionCategory category)
category - The category to set.public IDecisionRule getRule()
public void setRule(IDecisionRule rule)
rule - The rule to set.public StringBuffer explain(boolean verbose)
public StringBuffer explain(boolean verbose, int ruleIndex)
public org.openscience.cdk.interfaces.IAtomContainer getMolecule()
public void setMolecule(org.openscience.cdk.interfaces.IAtomContainer molecule)
molecule - The molecule to set.public boolean isSilent()
public void setSilent(boolean silent)
silent - The silent to set.Copyright © 2004–2018 Ideaconsult Ltd. All rights reserved.