public class AbductiveQuery extends QueryImpl implements Externalizable, AcceptsClassObjectType
RuleImpl.SafeEnabled, RuleImpl.SafeSalience
org.kie.api.definition.KieDefinition.KnowledgeType
Wireable.Immutable
activationListener, DEFAULT_CONSEQUENCE_NAME
Constructor and Description |
---|
AbductiveQuery() |
AbductiveQuery(String name) |
Modifier and Type | Method and Description |
---|---|
Object |
abduce(Object... args) |
protected void |
findConstructor(Declaration[] declarations) |
String[] |
getAbducibleArgs() |
ObjectType |
getReturnType() |
Object |
getValue() |
boolean |
isAbductive() |
boolean |
isReturnBound() |
int |
mapArgToParam(int j) |
void |
readExternal(ObjectInput in) |
void |
setClassObjectType(ClassObjectType classObjectType) |
void |
setReturnBound(boolean returnBound) |
void |
setReturnType(ObjectType objectType,
String[] params,
String[] args,
Declaration[] declarations) |
void |
writeExternal(ObjectOutput out) |
getKnowledgeType, getParameters, isQuery, isValid, setParameters
addChild, addMetaAttribute, addNamedConsequence, addPattern, addUsedQuery, collectDependingQueries, equals, getActivationGroup, getActivationListener, getAgendaGroup, getAutoFocus, getCalendars, getChildren, getConsequence, getConsequenceMetaData, getDateEffective, getDateExpires, getDeclaration, getDeclarations, getDependingQueries, getDialect, getEnabled, getFullyQualifiedName, getId, getLhs, getLoadOrder, getMetaData, getMetaData, getMethodBytecode, getName, getNamedConsequence, getNamedConsequences, getNamespace, getPackage, getPackageName, getParent, getRequiredDeclarationsForConsequence, getResource, getRuleFlowGroup, getRuleUnitClassName, getSalience, getSalienceValue, getTimer, getTransformedLhs, hasChildren, hashCode, hasLogicalDependency, hasNamedConsequences, hasRuleUnit, isAllMatches, isDataDriven, isEager, isEffective, isEnabled, isLockOnActive, isMainAgendaGroup, isNoLoop, isSalienceDynamic, isSemanticallyValid, removeChild, setActivationGroup, setActivationListener, setAgendaGroup, setAllMatches, setAutoFocus, setCalendars, setConsequence, setDataDriven, setDateEffective, setDateExpires, setDialect, setEager, setEnabled, setHasLogicalDependency, setLhs, setLoadOrder, setLockOnActive, setNoLoop, setPackage, setParent, setRequiredDeclarationsForConsequence, setResource, setRuleFlowGroup, setRuleUnitClass, setRuleUnitClassName, setSalience, setSemanticallyValid, setTimer, toRuleNameAndPathString, toString, wire
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public AbductiveQuery()
public AbductiveQuery(String name)
public boolean isAbductive()
isAbductive
in class QueryImpl
public void setReturnType(ObjectType objectType, String[] params, String[] args, Declaration[] declarations) throws NoSuchMethodException
NoSuchMethodException
protected void findConstructor(Declaration[] declarations) throws NoSuchMethodException
NoSuchMethodException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class QueryImpl
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class QueryImpl
IOException
ClassNotFoundException
public ObjectType getReturnType()
public Object getValue()
public String[] getAbducibleArgs()
public void setClassObjectType(ClassObjectType classObjectType)
setClassObjectType
in interface AcceptsClassObjectType
public void setReturnBound(boolean returnBound)
public boolean isReturnBound()
public int mapArgToParam(int j)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.