sk.robotics.rlcs.agents.os
Class ExecuterAgent.Cfg

java.lang.Object
  extended by sk.robotics.rlcs.agentspace.Agent.Cfg
      extended by sk.robotics.rlcs.agents.os.ExecuterAgent.Cfg
Enclosing class:
ExecuterAgent

public static class ExecuterAgent.Cfg
extends Agent.Cfg


Nested Class Summary
 
Nested classes/interfaces inherited from class sk.robotics.rlcs.agentspace.Agent.Cfg
Agent.Cfg.Limited, Agent.Cfg.NoDefault, Agent.Cfg.Required, Agent.Cfg.Validator
 
Field Summary
 java.lang.String command
          The command to execute.
 java.lang.Boolean onlyIfFinished
          Launch next command, only if previous execution has already finished.
 java.lang.String parameters
          Blocks whose values will be used as format arguments to construct the command.
 
Fields inherited from class sk.robotics.rlcs.agentspace.Agent.Cfg
enabled, id, logLevel, timerPeriodMs, triggers
 
Constructor Summary
ExecuterAgent.Cfg()
           
 
Method Summary
 
Methods inherited from class sk.robotics.rlcs.agentspace.Agent.Cfg
createAgent, equals, getHiddenFields, hideFields, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

command

public java.lang.String command
The command to execute. This is a format string, which will be passed to String.format() before each execution. Format arguments are loaded from space, see parameters field.


parameters

public java.lang.String parameters
Blocks whose values will be used as format arguments to construct the command. Delimited by spaces, commas, semicolons, or combinations of them. Block with default value (used when there is nothing in the block) may be specified as block:default. If no default value is specified for a block, empty string is used.


onlyIfFinished

public java.lang.Boolean onlyIfFinished
Launch next command, only if previous execution has already finished.

Constructor Detail

ExecuterAgent.Cfg

public ExecuterAgent.Cfg()