
no.tsl2.nano.terminal.2.4.7.source-code.sishell.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <SIShell name="sishell.xml" width="79" height="22" style="TEXT_LINE" fgColor="YELLOW" bgColor="BLUE" bars="true" refreshConfig="false" useNetworkExtension="true" sequential="false"> <defString name="image.out" value="-out"/> <root name="Toolbox" multiple="false" sequential="false"> <description>Helpful Utilities</description> <container name="Printing" multiple="false" sequential="false"> <fileSelector name="source" multiple="false" sequential="false"> <directory>${user.dir}</directory> <include>.*</include> </fileSelector> <input name="printer"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>printer to use</description> <value class="java.lang.String">PDFCreator</value> </input> <input name="jobname"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>print job name</description> <value class="java.lang.String">test</value> </input> <input name="mimetype"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>mime type</description> <value class="java.lang.String">MIME_PCL</value> </input> <fieldSelector name="papersize" multiple="false" sequential="false"> <description>paper size</description> <cls>javax.print.attribute.standard.MediaSizeName</cls> <field>javax.print.attribute.standard.MediaSizeName</field> <value class="java.lang.String">ISO_A4</value> </fieldSelector> <input name="quality"> <constraints type="java.lang.String" nullable="true" length="6" scale="-1" precision="-1"> <defaultValue class="java.lang.String">NORMAL</defaultValue> <value class="java.lang.String">NORMAL</value> <value class="java.lang.String">HIGH</value> </constraints> <description>print quality</description> <value class="java.lang.String">NORMAL</value> </input> <input name="priority"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>print priority (1-100)</description> <value class="java.lang.String">1</value> </input> <input name="xsltfile"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>xsl-fo transformation file to do a apache fop</description> </input> <input name="username"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>user name to be used by the printer</description> </input> <mainaction name="print"> <condition> <expression>quality=NORMAL</expression> </condition> <mainClass>de.tsl2.nano.util.PrintUtil</mainClass> <method>main</method> <argNames length="10"> <string>source</string> <string>printer</string> <string>jobname</string> <string>papersize</string> <string>quality</string> <string>priority</string> <string>xsltfile</string> <string>mimetype</string> <string>jobname</string> <string>username</string> </argNames> </mainaction> </container> <container name="Crypt" multiple="false" sequential="false"> <input name="password"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>password for encryption - if needed by algorithm</description> </input> <input name="algorithm"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>encryption algorithm</description> <value class="java.lang.String">PBEWithSHAAndAES</value> </input> <input name="text"> <constraints type="java.lang.String" nullable="false" length="-1" scale="-1" precision="-1"/> <description>text to be encrypted. if it starts with 'file:' the file will be read</description> </input> <input name="base64"> <constraints type="java.lang.Boolean" nullable="true" length="-1" scale="-1" precision="-1"/> <description>whether base64 encoding should be used</description> <value class="java.lang.Boolean">true</value> </input> <input name="include"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>regular expression to constrain text parts to be encrypted</description> <value class="java.lang.String">.*</value> </input> <mainaction name="Crypt"> <mainClass>de.tsl2.nano.core.secure.Crypt</mainClass> <method>main</method> <argNames length="5"> <string>password</string> <string>algorithm</string> <string>text</string> <string>base64</string> <string>include</string> </argNames> </mainaction> </container> <container name="Permutator" multiple="false" sequential="false"> <input name="source"> <constraints type="java.lang.String" nullable="false" length="-1" scale="-1" precision="-1"/> <description>source collection</description> </input> <input name="transformer"> <constraints type="java.lang.String" nullable="false" length="-1" scale="-1" precision="-1"/> <description>transforming action</description> </input> <input name="swap"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>whether to swap key and values in destination-map</description> </input> <input name="backward"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>action to do a back-transformation for each keys value</description> </input> <mainaction name="Permutator"> <mainClass>de.tsl2.nano.core.secure.Permutator</mainClass> <method>main</method> <argNames length="4"> <string>source</string> <string>transformer</string> <string>swap</string> <string>backward</string> </argNames> </mainaction> </container> <container name="Xml" multiple="false" sequential="false"> <fileSelector name="source" multiple="false" sequential="false"> <directory>${user.dir}</directory> <include>.*xml</include> </fileSelector> <fileSelector name="xsl-transformation" multiple="false" sequential="false"> <directory>${user.dir}</directory> <include>.*xsl.*</include> </fileSelector> <input name="xsl-destination"> <constraints type="java.lang.String" nullable="false" length="-1" scale="-1" precision="-1"/> <description>xsl destination file</description> <value class="java.lang.String">${user.dir}/${source}.html</value> </input> <input name="xpath-expression"> <constraints type="java.lang.String" nullable="false" length="-1" scale="-1" precision="-1"/> <description>xpath expression</description> </input> <action name="transformVel"> <mainClass>de.tsl2.nano.util.XmlGenUtil</mainClass> <method>transformVel</method> <argNames length="2"> <string>source</string> <string>ENVIRONMENT</string> </argNames> </action> <action name="transformXsl"> <mainClass>de.tsl2.nano.util.XmlGenUtil</mainClass> <method>transformXsl</method> <argNames length="3"> <string>source</string> <string>xsl-transformation</string> <string>xsl-destination</string> </argNames> </action> <action name="xpath"> <mainClass>de.tsl2.nano.util.XmlGenUtil</mainClass> <method>xpath</method> <argNames length="2"> <string>xpath-expression</string> <string>source</string> </argNames> </action> <foreach name="sequential echo command" multiple="false" sequential="false"> <doAction class="de.tsl2.nano.incubation.terminal.item.Command" name="sequential echo command"> <mainClass>de.tsl2.nano.core.execution.SystemUtil</mainClass> <method>executeAndGetOutput</method> <argNames length="0"/> <cmd>echo</cmd> </doAction> <sequence class="de.tsl2.nano.incubation.terminal.item.selector.XPathSelector" name="xpathselector" multiple="false" sequential="false"> <xml>bin/sishell.xml</xml> <xpath>//@name</xpath> </sequence> </foreach> </container> <container name="Html" multiple="false" sequential="false"> <fileSelector name="source" multiple="false" sequential="false"> <directory>${user.dir}</directory> <include>.*.markdown</include> </fileSelector> <mainaction name="Markdown (TxtMark)"> <method>com.github.rjeschke.txtmark.cmd.Run.main</method> <argNames length="1"> <string>source</string> </argNames> </mainaction> </container> <container name="Ant" multiple="false" sequential="false"> <anttask name="task" multiple="false" sequential="false"> <description>pack given filesets to zip</description> <value class="java.lang.String">Jar</value> </anttask> <propertySelector name="properties" multiple="false" sequential="false"> <description>ant task properties</description> </propertySelector> <input name="filesets"> <constraints type="java.lang.String" nullable="false" length="-1" scale="-1" precision="-1"/> <description>filesets expression</description> <value class="java.lang.String">./:{**/*.*ml}**/*.xml;${user.dir}:{*.txt}</value> </input> <action name="runTask"> <mainClass>de.tsl2.nano.execution.AntRunner</mainClass> <method>runTask</method> <argNames length="3"> <string>task</string> <string>properties</string> <string>filesets</string> </argNames> </action> </container> <container name="vNet" multiple="false" sequential="false"> <fileSelector name="configuration" multiple="false" sequential="false"> <directory>${user.dir}</directory> <include>.*xml</include> </fileSelector> <container name="implementation" multiple="false" sequential="false"> <description>vNet implementation</description> <option name="NeuralNet"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>NeuralNet implementation class</description> <defaultValue class="java.lang.String">de.tsl2.nano.incubation.vnet.neuron.VNeuron</defaultValue> <value class="java.lang.String">de.tsl2.nano.incubation.vnet.neuron.VNeuron</value> </option> <option name="RoutingStar"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>Routing implementation class</description> <defaultValue class="java.lang.String">de.tsl2.nano.incubation.vnet.routing.RoutingAStar</defaultValue> <value class="java.lang.String">de.tsl2.nano.incubation.vnet.routing.RoutingAStar</value> </option> <option name="Workflow"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>Workflow implementation class</description> <defaultValue class="java.lang.String">de.tsl2.nano.incubation.vnet.workflow.VActivity</defaultValue> <value class="java.lang.String">de.tsl2.nano.incubation.vnet.workflow.VActivity</value> </option> </container> <mainaction name="NetCommunicator"> <mainClass>de.tsl2.nano.incubation.vnet.NetCommunicator</mainClass> <method>main</method> <argNames length="2"> <string>configuration</string> <string>implementation=${implementation}</string> </argNames> </mainaction> </container> <container name="Net" multiple="false" sequential="false"> <description>wrench.png</description> <container name="Scan" multiple="false" sequential="false"> <input name="ip"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>internet address to be scanned</description> <value class="java.lang.String">2003:c7:ff35:fc44:e5a2:2333:72e2:e39a%wlp2s0</value> </input> <input name="lowest-port"> <constraints type="java.lang.Integer" nullable="true" length="-1" scale="-1" precision="-1"/> <description>lowest port to be scanned</description> <value class="java.lang.Integer">0</value> </input> <input name="highest-port"> <constraints type="java.lang.Integer" nullable="true" length="-1" scale="-1" precision="-1"/> <description>highest port to be scanned</description> <value class="java.lang.Integer">100</value> </input> <action name="scans"> <mainClass>de.tsl2.nano.core.util.NetUtil</mainClass> <method>scans</method> <argNames length="3"> <string>(int)lowest-port</string> <string>(int)highest-port</string> <string>(java.lang.String[])ip</string> </argNames> </action> </container> <container name="WCopy" multiple="false" sequential="false"> <description>Downloads a site</description> <input name="url"> <constraints type="java.lang.String" nullable="false" length="-1" scale="-1" precision="-1"/> <description>url to get files from</description> </input> <input name="dir"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>local directory to save the downloaded files</description> </input> <input name="include"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>regular expression for files to download</description> </input> <input name="exclude"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>regular exression for files to be filtered</description> </input> <action name="wcopy"> <mainClass>de.tsl2.nano.core.util.NetUtil</mainClass> <method>wcopy</method> <argNames length="4"> <string>url</string> <string>dir</string> <string>include</string> <string>exclude</string> </argNames> </action> </container> <container name="Proxy" multiple="false" sequential="false"> <input name="uri"> <constraints type="java.lang.String" nullable="false" length="-1" scale="-1" precision="-1"/> <description>uri to evaluate proxy for (http, https, ftp or socket)</description> </input> <input name="proxy"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>new proxy (e.g.: myproxy.myorg.org)</description> </input> <input name="user"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>new proxies user</description> </input> <input name="password"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>new proxies password</description> </input> <action name="proxy"> <mainClass>de.tsl2.nano.core.util.NetUtil</mainClass> <method>proxy</method> <argNames length="4"> <string>uri</string> <string>proxy</string> <string>user</string> <string>password</string> </argNames> </action> </container> <container name="Download" multiple="false" sequential="false"> <description>Downloads a single file</description> <input name="url"> <constraints type="java.lang.String" nullable="false" length="-1" scale="-1" precision="-1"/> <description>url to be loaded</description> </input> <input name="dir"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>local directory to save the downloaded file</description> </input> <action name="download"> <mainClass>de.tsl2.nano.core.util.NetUtil</mainClass> <method>download</method> <argNames length="2"> <string>url</string> <string>dir</string> </argNames> </action> </container> <container name="Browse" multiple="false" sequential="false"> <description>Shows the given URL</description> <input name="url"> <constraints type="java.lang.String" nullable="false" length="-1" scale="-1" precision="-1"/> <description>url to be loaded</description> </input> <action name="browse"> <mainClass>de.tsl2.nano.core.util.NetUtil</mainClass> <method>browse</method> <argNames length="2"> <string>url</string> <string>out</string> </argNames> </action> </container> <container name="Restful" multiple="false" sequential="false"> <description>Calls a RESTful service</description> <input name="url"> <constraints type="java.lang.String" nullable="false" length="-1" scale="-1" precision="-1"/> <description>URL of a RESTful service</description> <value class="java.lang.String">http://echo.jsontest.com/title/ipsum</value> </input> <propertySelector name="arguments" multiple="false" sequential="false"> <description>RESTful arguments</description> </propertySelector> <action name="getRest"> <mainClass>de.tsl2.nano.core.util.NetUtil</mainClass> <method>getRest</method> <argNames length="2"> <string>url</string> <string>arguments</string> </argNames> </action> </container> <action name="getNetInfo"> <mainClass>de.tsl2.nano.core.util.NetUtil</mainClass> <method>getNetInfo</method> <argNames length="0"/> </action> <action name="getFreePort"> <mainClass>de.tsl2.nano.core.util.NetUtil</mainClass> <method>getFreePort</method> <argNames length="0"/> </action> </container> <container name="File-Operation" multiple="false" sequential="false"> <dirSelector name="directory" multiple="false" sequential="false" showFiles="true"> <root class="java.lang.String">${user.dir}</root> <include>.*</include> </dirSelector> <input name="file"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>regular expression (with ant-like path **) as file filter</description> <value class="java.lang.String">**/[\w]+\.txt</value> </input> <input name="destination"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>destination directory for file operations</description> <value class="java.lang.String">${user.dir}</value> </input> <action name="Details"> <mainClass>de.tsl2.nano.core.util.FileUtil</mainClass> <method>getDetails</method> <argNames length="1"> <string>(java.io.File)file</string> </argNames> </action> <fileSelector name="List" multiple="false" sequential="false"> <directory>${user.dir}</directory> <include>directory</include> </fileSelector> <action name="Delete"> <mainClass>de.tsl2.nano.core.util.FileUtil</mainClass> <method>forEach</method> <argNames length="3"> <string>directory</string> <string>file</string> <string>(de.tsl2.nano.core.execution.IRunnable)@de.tsl2.nano.core.util.FileUtil:DO_DELETE</string> </argNames> </action> <action name="Copy"> <mainClass>de.tsl2.nano.core.util.FileUtil</mainClass> <method>forEach</method> <argNames length="3"> <string>directory</string> <string>file</string> <string>(de.tsl2.nano.core.execution.IRunnable)@de.tsl2.nano.core.util.FileUtil:DO_COPY</string> </argNames> </action> <mainaction name="Imageviewer"> <mainClass>de.tsl2.nano.incubation.terminal.AsciiImage</mainClass> <method>main</method> <argNames length="4"> <string>file</string> <string>image.out</string> <string>sishell.width</string> <string>sishell.height</string> </argNames> </mainaction> </container> <container name="Shell" multiple="false" sequential="false"> <description>Starts OS Shell commands</description> <command name="command"> <mainClass>de.tsl2.nano.core.execution.SystemUtil</mainClass> <method>executeAndGetOutput</method> <argNames length="0"/> <cmd>cmd /C</cmd> </command> </container> <container name="Generator" multiple="false" sequential="false"> <description>Generate Code with Velocity</description> <input name="algorithm"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>generator implementation</description> <value class="java.lang.String">de.tsl2.nano.codegen.PackageGenerator</value> </input> <input name="model"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>package file path of source code used as model</description> <value class="java.lang.String">${user.dir}</value> </input> <input name="template"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>velocity template file path</description> <value class="java.lang.String">codegen/bean-const.vm</value> </input> <input name="filter"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>optional package of source code files</description> <value class="java.lang.String"></value> </input> <input name="propertyFile"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>optional property file</description> <value class="java.lang.String"></value> </input> <input name="outputPath"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>optional output path</description> <value class="java.lang.String">${user.dir}</value> </input> <input name="destinationPrefix"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>optional destination file prefix</description> <value class="java.lang.String"></value> </input> <input name="destinationPostfix"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>optional destination file postfix</description> <value class="java.lang.String">${user.dir}</value> </input> <input name="unpackaged"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>whether to store flat without package structure</description> <value class="java.lang.String">false</value> </input> <input name="singleFile"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>whether to generate only a single file</description> <value class="java.lang.String">false</value> </input> <action name="start"> <mainClass>de.tsl2.nano.codegen.ACodeGenerator</mainClass> <method>start</method> <argNames length="5"> <string>algorithm</string> <string>model</string> <string>template</string> <string>filter</string> <string>propertyFile</string> </argNames> </action> </container> <container name="EvolutionalAlgorithm" multiple="false" sequential="false"> <description>Starts an Evolutional Algorithm</description> <input name="fitnessFunction"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>Fitness function implementation</description> <value class="java.lang.String">de.tsl2.nano.gp.PolyglottFitnessFunction</value> </input> <input name="evolutionalalgorithm.fitnessfunction.script"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description>Script implementation if fitnessFunction is PolyglottFitnessFunction</description> <value class="java.lang.String">fit.ts</value> </input> <input name="geneticRangeLow"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description></description> <value class="java.lang.String">10</value> </input> <input name="geneticRangeHigh"> <constraints type="java.lang.String" nullable="true" length="-1" scale="-1" precision="-1"/> <description></description> <value class="java.lang.String">10</value> </input> <mainaction name="start"> <mainClass>de.tsl2.nano.gp.EvolutionalAlgorithm</mainClass> <method>main</method> <argNames length="3"> <string>fitnessFunction=${fitnessFunction}</string> <string>geneticRangeLow=${geneticRangeLow}</string> <string>geneticRangeHigh=${geneticRangeHigh}</string> </argNames> </mainaction> </container> </root> <clearScreenCmd>clear</clearScreenCmd> </SIShell>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy