public class CmdQueue extends java.lang.Object
JZtxtcmdExecuterinvocation of sub routines.
|Modifier and Type||Field and Description|
Version, history and license.
|Constructor and Description|
public static final java.lang.String version
CmdExecuterhas a queue too. Because CmdStore is obsolete. Content is removed.
#addCmd(org.vishia.cmd.JZcmdScript.Subroutine, List, File)
#addCmd(CmdBlock, CmdGetterArguments)new concept supports only
#addCmd(String, File, boolean)and
#addCmd(String, File, boolean)is newly designed for simple operation system command execution without JZcmd concept. The
#addCmd(CmdBlock, File, File)which prepares file parts is designated as deprecated. Instead the JZcmdExecuter with more capability should be used.
#jzcmdExecuternow included. TODO: it should use the
#executerinstead create a new one per call.
#abortCmd()now clears the queue too. The clearing of the command queue is a good idea, because while a program execution hangs, some unnecessary requests may be initiated.
#execCmds(Appendable)with only one parameter, the second one was unused.
CmdStore.CmdBlocknow. It is one level near on the really execution. A queued command may not stored in a CmdBlock.
#close()to stop threads.