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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(jason.asSemantics.TransitionSystem ts, jason.asSemantics.Unifier un, jason.asSyntax.Term[] args)
    TODO in case of error, error message shown in agent console is empty.

    Methods inherited from class jason.asSemantics.DefaultInternalAction

    canBeUsedInContext, checkArguments, destroy, getMaxArgs, getMinArgs, prepareArguments, suspendIntention

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface jason.asSemantics.InternalAction
      Overrides:
      execute in class jason.asSemantics.DefaultInternalAction
      Parameters:
      ts -
      un -
      args -
      Returns:
      Throws:
      Exception