com.redstarhackers.craftsman.file
Class AntTargetHelper

java.lang.Object
  extended by com.redstarhackers.craftsman.file.AntTargetHelper

public class AntTargetHelper
extends java.lang.Object

TODO Class summary sentence. Class documentation.

Version:
$Revision: 3070 $
Author:
$Author: kostya $

Field Summary
static java.lang.String TAB
           
 
Constructor Summary
AntTargetHelper()
           
 
Method Summary
static void setDocumentationMode(int mode)
           
static void writeOutTarget(java.io.PrintWriter out, java.lang.String targetName, java.lang.String description, java.lang.String ifCondition, java.lang.String unlessCondition, java.util.Set depends, java.util.Set taskCalls)
          Writes our a target according to the given inputs.
static void writeOutTarget(java.io.PrintWriter out, java.lang.String targetName, java.lang.String description, java.lang.String ifCondition, java.lang.String unlessCondition, java.util.Set depends, java.util.Set taskCalls, boolean forceDoc)
          Writes our a target according to the given inputs.
static void writeOutTarget(java.io.PrintWriter out, java.lang.String targetName, java.lang.String description, java.lang.String ifCondition, java.lang.String unlessCondition, java.lang.String depends, java.util.Set taskCalls)
          Writes our a target according to the given inputs.
static void writeOutTarget(java.io.PrintWriter out, java.lang.String targetName, java.lang.String description, java.lang.String ifCondition, java.lang.String unlessCondition, java.lang.String depends, java.util.Set taskCalls, boolean forceDoc)
          Writes our a target according to the given inputs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAB

public static final java.lang.String TAB
See Also:
Constant Field Values
Constructor Detail

AntTargetHelper

public AntTargetHelper()
Method Detail

setDocumentationMode

public static void setDocumentationMode(int mode)

writeOutTarget

public static void writeOutTarget(java.io.PrintWriter out,
                                  java.lang.String targetName,
                                  java.lang.String description,
                                  java.lang.String ifCondition,
                                  java.lang.String unlessCondition,
                                  java.util.Set depends,
                                  java.util.Set taskCalls)
Writes our a target according to the given inputs.

Parameters:
out - where to send the output
targetName - the name of the target, as in <target name="targetName" ... >>
description - description for the target
ifCondition - the if condition for this target
unlessCondition - the unless condition for this target
depends - set of target names to call
taskCalls - set of task call strings to insert into the target

writeOutTarget

public static void writeOutTarget(java.io.PrintWriter out,
                                  java.lang.String targetName,
                                  java.lang.String description,
                                  java.lang.String ifCondition,
                                  java.lang.String unlessCondition,
                                  java.util.Set depends,
                                  java.util.Set taskCalls,
                                  boolean forceDoc)
Writes our a target according to the given inputs.

Parameters:
out - where to send the output
targetName - the name of the target, as in <target name="targetName" ... >>
description - description for the target
ifCondition - the if condition for this target
unlessCondition - the unless condition for this target
depends - set of target names to call
taskCalls - set of task call strings to insert into the target

writeOutTarget

public static void writeOutTarget(java.io.PrintWriter out,
                                  java.lang.String targetName,
                                  java.lang.String description,
                                  java.lang.String ifCondition,
                                  java.lang.String unlessCondition,
                                  java.lang.String depends,
                                  java.util.Set taskCalls)
Writes our a target according to the given inputs.

Parameters:
out - where to send the output
targetName - the name of the target, as in <target name="targetName" ... >>
description - description for the target
ifCondition - the if condition for this target
unlessCondition - the unless condition for this target
depends - set of target names to call
taskCalls - set of task call strings to insert into the target

writeOutTarget

public static void writeOutTarget(java.io.PrintWriter out,
                                  java.lang.String targetName,
                                  java.lang.String description,
                                  java.lang.String ifCondition,
                                  java.lang.String unlessCondition,
                                  java.lang.String depends,
                                  java.util.Set taskCalls,
                                  boolean forceDoc)
Writes our a target according to the given inputs.

Parameters:
out - where to send the output
targetName - the name of the target, as in <target name="targetName" ... >>
description - description for the target
ifCondition - the if condition for this target
unlessCondition - the unless condition for this target
depends - set of target names to call
taskCalls - set of task call strings to insert into the target