Jadex 0.96

jadex.testcases.plans
Agent InlinePlan

jadex.testcases.plans.InlinePlan
  • jadex.planlib.Test

  • agent InlinePlan
    contains jadex.planlib.Test


    Agent arguments: testcenter
    testcenter AgentIdentifier

    Test an inline plan.

    Note: This test does not work without the expression compiler add-on.

    Inline plans have an inline plan body, which means that they directly contain the body code. Inline plans should be used for simple plans only.


    Belief Summary
    beliefsetref TestReport reports
              
    exported beliefref AgentIdentifier testcenter
              
    exported beliefref long timeout
              
     
    Goal Summary
    achievegoal testgoal()
              
     
    Plan Summary
    standard plan inline()
              
    standard plan testinline()
              
     
    Configuration Summary
    default configuration  default
              
     

    Belief Detail

    timeout

    exported beliefref long timeout
    Default fact:
    0
    Referenced from:
    timeout in capability jadex.planlib.Test

    testcenter

    exported beliefref AgentIdentifier testcenter
    Referenced from:
    testcenter in capability jadex.planlib.Test

    reports

    beliefsetref TestReport reports
    Referenced from:
    reports in capability jadex.planlib.Test
    Goal Detail

    testgoal

    achievegoal testgoal()
    BDI flags:
    retry: true
    retry delay: 0
    exclude: when_tried
    random selection: false
    post to all: false
    Plan Detail

    inline

    standard plan inline()
    Inline plan body code:
    getLogger().info("Inline plan started: "+this);
    waitFor(100);
    getLogger().info("Inline plan end: "+this);
    Inline plan passed code:
    getLogger().info("Passed: "+this);
    Inline plan failed code:
    getLogger().info("Failed: "+this);
    Inline plan aborted code:
    getLogger().info("Aborted: "+this);
    Plan trigger:
    Goals:
    testgoal

    testinline

    standard plan testinline()
    Plan body:
    new TestInlinePlan()
    Configuration Detail

    default

    default configuration default
    Initial Plans:
    testinline

    Jadex 0.96

    Submit a bug or feature
    For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

    Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.