Package jason.infra

Interface MASLauncherInfraTier

All Superinterfaces:
java.lang.Runnable
All Known Implementing Classes:
JadeMASLauncherAnt, LocalMASLauncherAnt

public interface MASLauncherInfraTier
extends java.lang.Runnable
Used to launch an MAS. Each infrastructure should implements it.

The methods of this class are called in the following order:

  • setProject
  • setListener
  • writeScripts
  • stopMAS
  • Method Summary

    Modifier and Type Method Description
    void setListener​(RunProjectListener listener)
    Sets the object that wants to be informed about the changes in the execution state.
    void setProject​(MAS2JProject project)
    Sets the description of the project to be run.
    void stopMAS()
    Stops the MAS execution.
    boolean writeScripts​(boolean debug, boolean useBuildFileName)
    Writes the script(s), normally Ant scripts, used to launch the MAS.

    Methods inherited from interface java.lang.Runnable

    run
  • Method Details

    • setProject

      void setProject​(MAS2JProject project)
      Sets the description of the project to be run.
    • setListener

      void setListener​(RunProjectListener listener)
      Sets the object that wants to be informed about the changes in the execution state. This object normally is the JasonIDE, that wants to change available buttons as the project is being executed.
    • writeScripts

      boolean writeScripts​(boolean debug, boolean useBuildFileName)
      Writes the script(s), normally Ant scripts, used to launch the MAS.
    • stopMAS

      void stopMAS()
      Stops the MAS execution.