Class Program

java.lang.Object
ch.turic.commands.AbstractCommand
ch.turic.Program
All Implemented Interfaces:
Command, ch.turic.memory.HasFields, ch.turic.memory.HasIndex, Iterable<Object>

public class Program extends ch.turic.commands.AbstractCommand
  • Constructor Summary

    Constructors
    Constructor
    Description
    Program(Command[] commands)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    _execute(ch.turic.memory.Context context)
     
     
    static Program
    factory(ch.turic.utils.Unmarshaller.Args args)
     

    Methods inherited from class ch.turic.commands.AbstractCommand

    _toLngObject, endPosition, execute, fields, getField, setEndPosition, setField, setStartPosition, startPosition, toLngObject

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface ch.turic.memory.HasFields

    getField, getIndex, iterator, setIndex

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Constructor Details

    • Program

      public Program(Command[] commands)
  • Method Details

    • commands

      public Command[] commands()
    • factory

      public static Program factory(ch.turic.utils.Unmarshaller.Args args)
    • _execute

      public Object _execute(ch.turic.memory.Context context) throws ExecutionException
      Specified by:
      _execute in class ch.turic.commands.AbstractCommand
      Throws:
      ExecutionException