Package h
Class target
java.lang.Object
jason.asSemantics.DefaultInternalAction
h.target
- All Implemented Interfaces:
jason.asSemantics.InternalAction
,Serializable
public class target
extends jason.asSemantics.DefaultInternalAction
target(URI, TargetURI)
is true if TargetURI
has no fragment
and is equal to URI
(except for the fragment).
The target
internal action is useful to anticipate what URI is set as target of an HTTP request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jason.asSemantics.DefaultInternalAction
canBeUsedInContext, checkArguments, destroy, getMaxArgs, getMinArgs, prepareArguments, suspendIntention
-
Constructor Details
-
target
public target()
-
-
Method Details
-
execute
public Object execute(jason.asSemantics.TransitionSystem ts, jason.asSemantics.Unifier un, jason.asSyntax.Term[] args) throws Exception TODO in case of error, error message shown in agent console is empty. Improve?- Specified by:
execute
in interfacejason.asSemantics.InternalAction
- Overrides:
execute
in classjason.asSemantics.DefaultInternalAction
- Parameters:
ts
-un
-args
-- Returns:
- Throws:
Exception
-