public class AbductiveQuery extends QueryImpl implements Externalizable, AcceptsClassObjectType
RuleImpl.SafeEnabled, RuleImpl.SafeSalienceorg.kie.api.definition.KieDefinition.KnowledgeTypeWireable.ImmutableactivationListener, 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, setParametersaddChild, 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, wireclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic AbductiveQuery()
public AbductiveQuery(String name)
public boolean isAbductive()
isAbductive in class QueryImplpublic void setReturnType(ObjectType objectType, String[] params, String[] args, Declaration[] declarations) throws NoSuchMethodException
NoSuchMethodExceptionprotected void findConstructor(Declaration[] declarations) throws NoSuchMethodException
NoSuchMethodExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class QueryImplIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class QueryImplIOExceptionClassNotFoundExceptionpublic ObjectType getReturnType()
public Object getValue()
public String[] getAbducibleArgs()
public void setClassObjectType(ClassObjectType classObjectType)
setClassObjectType in interface AcceptsClassObjectTypepublic void setReturnBound(boolean returnBound)
public boolean isReturnBound()
public int mapArgToParam(int j)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.