Module api
Package de.grogra.api

Class XLinLineRunner

java.lang.Object
de.grogra.api.XLinLineRunner
All Implemented Interfaces:
ItemVisitor, Command, Runnable

public class XLinLineRunner extends Object implements Runnable, Command, ItemVisitor
  • Field Details

  • Method Details

    • visit

      public void visit(Item item, Object info)
      Specified by:
      visit in interface ItemVisitor
    • getCommandName

      public String getCommandName()
      Description copied from interface: Command
      Returns a name which can be used in the graphical user interface to represent this command.
      Specified by:
      getCommandName in interface Command
      Returns:
      this commands's name
    • run

      public void run(Object info, Context c)
      Description copied from interface: Command
      Performs the actions of this command. This method is invoked by the JobManager after the command has been submitted to the job manager by one of execute, runAt, or runLater-methods. The arguments info and context are the arguments which have been provided as arguments to the JobManager-methods.
      Specified by:
      run in interface Command
      Parameters:
      info - an argument
      c - a context
    • run

      public void run()
      Specified by:
      run in interface Runnable