public class Drop extends BaseBuiltin
BASE_URI| Constructor and Description |
|---|
Drop() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Return a name for this builtin, normally this will be the name of the
functor that will be used to invoke it.
|
void |
headAction(Node[] args,
int length,
RuleContext context)
This method is invoked when the builtin is called in a rule head.
|
boolean |
isMonotonic()
Returns false if this builtin is non-monotonic.
|
bodyCall, checkArgs, getArg, getArgLength, getURI, isSafepublic String getName()
public void headAction(Node[] args, int length, RuleContext context)
headAction in interface BuiltinheadAction in class BaseBuiltinargs - the array of argument values for the builtin, this is an array
of Nodes.length - the length of the argument list, may be less than the length of the args array
for some rule enginescontext - an execution context giving access to other relevant datapublic boolean isMonotonic()
isMonotonic in interface BuiltinisMonotonic in class BaseBuiltinLicenced under the Apache License, Version 2.0