Version, history and license.
- 2017-01-01 Hartmut now obsolete, the
CmdExecuter
has a queue too. Because CmdStore is obsolete. Content is removed.
- 2016-12-31 Hartmut new:
#addCmd(org.vishia.cmd.JZcmdScript.Subroutine, List, File)
- 2016-09-18 Hartmut new:
#addCmd(CmdBlock, CmdGetterArguments)
new concept supports only JZtxtcmdExecuter
The #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.
- 2016-09-18 Hartmut chg: ctor with null as log, don't use log and JZcmd for simple applications.
- 2015-07-18 Hartmut chg: Now associated to an Appendable instead a PrintStream for error alive and error messages.
A System.out is an Appendable too, for this kind the application is unchanged. Other output channels may support
an Appendable rather than an PrintStream because it is more simple and substantial.
- 2013-09-08 Hartmut new:
#jzcmdExecuter
now included. TODO: it should use the #executer
instead create a new one per call.
- 2013-02-09 Hartmut chg:
#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.
- 2013-02-03 Hartmut chg: better execution exception, uses log in
#execCmds(Appendable)
- 2013-02-03 Hartmut chg:
#execCmds(Appendable)
with only one parameter, the second one was unused.
- 2011-12-03 Hartmut chg: The
#pendingCmds
-queue contains PendingCmd
instead
CmdStore.CmdBlock
now. It is one level near on the really execution. A queued
command may not stored in a CmdBlock.
- 2011-11-17 Hartmut new
#close()
to stop threads.
- 2011-07-00 created
Copyright/Copyleft:
For this source the LGPL Lesser General Public License,
published by the Free Software Foundation is valid.
It means:
- You can use this source without any restriction for any desired purpose.
- You can redistribute copies of this source to everybody.
- Every user of this source, also the user of redistribute copies
with or without payment, must accept this license for further using.
- But the LPGL ist not appropriate for a whole software product,
if this source is only a part of them. It means, the user
must publish this part of source,
but don't need to publish the whole source of the own product.
- You can study and modify (improve) this source
for own using or for redistribution, but you have to license the
modified sources likewise under this LGPL Lesser General Public License.
You mustn't delete this Copyright/Copyleft inscription in this source file.
If you are intent to use this sources without publishing its usage, you can get
a second license subscribing a special contract with the author.