org.almendra.janet.ade.executor.interpreters
Class StartInterpreter

java.lang.Object
  extended by org.almendra.janet.ade.executor.interpreters.ExecutorInterpreter
      extended by org.almendra.janet.ade.executor.interpreters.StartInterpreter
All Implemented Interfaces:
IInterpreter

public class StartInterpreter
extends ExecutorInterpreter
implements IInterpreter


Field Summary
 
Fields inherited from class org.almendra.janet.ade.executor.interpreters.ExecutorInterpreter
anchor
 
Constructor Summary
StartInterpreter()
          Creates a new StartInterpreter object.
 
Method Summary
 StringVector commandNames()
           
 void execute(CommandAccessor cmdAccessor)
           
protected  java.io.File getDescriptorFile(CommandAccessor cmdAccessor, java.lang.String descriptorFilePathName)
           
protected  java.lang.String getDescriptorFilePathName(CommandAccessor cmdAccessor)
           
protected  IAgentProxy getSystemAgent(CommandAccessor cmdAccessor)
           
protected  boolean readQueueSizeCategories(CommandAccessor cmdAccessor, ExecutorAnchor anchor)
           
protected  void registerForEvents(CommandAccessor cmdAccessor, ExecutorAnchor anchor)
           
 
Methods inherited from class org.almendra.janet.ade.executor.interpreters.ExecutorInterpreter
getExecutorAnchor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartInterpreter

public StartInterpreter()
Creates a new StartInterpreter object.

Method Detail

execute

public void execute(CommandAccessor cmdAccessor)
Specified by:
execute in interface IInterpreter

registerForEvents

protected void registerForEvents(CommandAccessor cmdAccessor,
                                 ExecutorAnchor anchor)
Parameters:
cmdAccessor -
anchor -

readQueueSizeCategories

protected boolean readQueueSizeCategories(CommandAccessor cmdAccessor,
                                          ExecutorAnchor anchor)
Parameters:
capability -
Returns:

getDescriptorFilePathName

protected java.lang.String getDescriptorFilePathName(CommandAccessor cmdAccessor)

getDescriptorFile

protected java.io.File getDescriptorFile(CommandAccessor cmdAccessor,
                                         java.lang.String descriptorFilePathName)
Parameters:
cmdAccessor -
descriptorFilePathName -
Returns:
Throws:
java.io.IOException

getSystemAgent

protected IAgentProxy getSystemAgent(CommandAccessor cmdAccessor)
Parameters:
cmdAccessor -
Returns:
Throws:
NoSuchAgentException
IllegalAgentAccessException
InsufficientPrivilegeException

commandNames

public StringVector commandNames()
Specified by:
commandNames in interface IInterpreter