<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="scheduler_job_documentation_v1.1.xsl"?>
<description xmlns="http://www.sos-berlin.com/schema/scheduler_job_documentation_v1.1"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://www.sos-berlin.com/schema/scheduler_job_documentation_v1.1 http://www.sos-berlin.com/schema/scheduler_job_documentation_v1.1.xsd">
   <job xmlns:xhtml="http://www.w3.org/1999/xhtml"
        name="JobSchedulerTextProcessor"
        title="Diverse Funktionen auf Textdateien"
        order="yes"
        category="FileHandling"
        since="1.3.?">
		    <script language="java"
              java_class="sos.scheduler.file.JobSchedulerTextProcessor"/>
	  </job>
   <releases xmlns:xhtml="http://www.w3.org/1999/xhtml">
		    <release id="1" created="2009-05-29" modified="2009-05-29">
			      <title>Erstes Release</title>
			      <author name="Uwe Risse" email="uwe.risse@sos-berlin.com"/>
		    </release>
	  </releases>
   <resources xmlns:xhtml="http://www.w3.org/1999/xhtml">
		    <file os="all" type="java" file="sos.scheduler.jar"/>
	  </resources>
   <configuration>
      <params id="job_parameter">
         <param xmlns:xhtml="http://www.w3.org/1999/xhtml"
                name="filename"
                required="true">
				        <note language="de">
					          <div xmlns="http://www.w3.org/1999/xhtml">Name der Datei. Vollständiger Pfad</div>
				        </note>
				        <note language="en">
					          <div xmlns="http://www.w3.org/1999/xhtml">Name of the file.</div>
				        </note>
			      </param>
         <param xmlns:xhtml="http://www.w3.org/1999/xhtml"
                name="command"
                required="true">
				        <note language="de">
					          <div xmlns="http://www.w3.org/1999/xhtml">
						Kommando:

						count: zählt das Vorkommen von Zeichen
						countCaseSensitive:
						add: Fügt eine Zeile an das Ende der Datei an
						read: Liest eine Zeile -n aus der Datei. Für n kann eine Zahl oder
						first/last angegeben werden.
						insert:

						Das Kommando kann den Parameter direkt enthalten.

						Beispiele:

						Zählen wie oft test in der Datei vorkommt
						count test

						Zeile xxxx anfügen
						add xxxx

						Die 6.Zeile lesen
						read 6

						die letzte Zeile lesen
						read last
</div>
				        </note>
				        <note language="en">
					          <div xmlns="http://www.w3.org/1999/xhtml">Command:

						count: counts the hits of a string
						add: adds a string at the end of the file.
						read: reads line -n. Possible value for n are numbers and first/last


						The command can contain the param.

						Samples:

						count test
						add xxxx
						read 6
						read last
						</div>
				        </note>
			      </param>
         <param xmlns:xhtml="http://www.w3.org/1999/xhtml"
                name="scheduler_textprocessor_result"
                required="false">
				        <note language="de">
					          <div xmlns="http://www.w3.org/1999/xhtml">
						Rückgabe:

						count: Anzahl Zeichen
						countCaseSensitive: Anzahl Zeichen
						add: param
						read: die gelesene Zeile
						insert: param
</div>
				        </note>
				        <note language="en">
					          <div xmlns="http://www.w3.org/1999/xhtml">Command:
						Return value:

						count: counted number of char
						countCaseSensitive: counted number of char
						add: param
						read: the readed line
						insert: param
						</div>
				        </note>
			      </param>
         <param xmlns:xhtml="http://www.w3.org/1999/xhtml"
                name="param"
                required="false">
				        <note language="de">
					          <p>Wenn bei <paramref>command</paramref> kein Parameter angegeben ist, kann
						er hier gesetzt werden.</p>
				        </note>
                <note language="en">
                    <p>Additional parameters for the parameter command.
                    </p>
                </note>
			      </param>
      </params>
   </configuration>
   <documentation xmlns:xhtml="http://www.w3.org/1999/xhtml" language="de">
		    <div xmlns="http://www.w3.org/1999/xhtml">Führt Kommandos auf Textdateien aus.</div>
	  </documentation>
   <documentation xmlns:xhtml="http://www.w3.org/1999/xhtml" language="en">
		    <div xmlns="http://www.w3.org/1999/xhtml">Executes some textprocessing commands on a content of a
			file.</div>
	  </documentation>
</description>