phing-types
[ class tree: phing-types ] [ index: phing-types ] [ all elements ]

Procedural File: Commandline.php

Source Location: /types/Commandline.php



Classes:

Commandline
Commandline objects help handling command lines specifying processes to execute.
CommandlineArgument
"Inner" class used for nested xml command line definitions.
CommandlineMarker
Class to keep track of the position of an Argument.


Page Details:

Commandline objects help handling command lines specifying processes to execute.

The class can be used to define a command line as nested elements or as a helper to define a command line by an application. <p>

  1.  &lt;someelement&gt;<br>
  2.  &nbsp;&nbsp;&lt;acommandline executable="/executable/to/run"&gt;<br>
  3.  &nbsp;&nbsp;&nbsp;&nbsp;&lt;argument value="argument 1" /&gt;<br>
  4.  &nbsp;&nbsp;&nbsp;&nbsp;&lt;argument line="argument_1 argument_2 argument_3" /&gt;<br>
  5.  &nbsp;&nbsp;&nbsp;&nbsp;&lt;argument value="argument 4" /&gt;<br>
  6.  &nbsp;&nbsp;&lt;/acommandline&gt;<br>
  7.  &lt;/someelement&gt;<br>
The element
  1. someelement
must provide a method
  1. createAcommandline
which returns an instance of this class.




Tags:

author:  thomas.haas@softwired-inc.com
author:  <href="mailto:stefan.bodewig@epost.de" a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a>








Documentation generated on Mon, 19 Oct 2009 10:50:32 +0200 by phpDocumentor 1.4.3