|
terp - the ANT Tasks v1.2.229 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.codemesh.terp.ant.devpartner.AbstractToolOption<DevPartnerTool>
com.codemesh.terp.ant.devpartner.boundschecker.XmlFileOption
public class XmlFileOption
An option specifying the XML file that is created by BoundsChecker.
| Field Summary | |
|---|---|
static java.lang.String |
INCLUDE_ALL
|
static java.lang.String |
INCLUDE_DETAILS
|
static java.lang.String |
INCLUDE_SUMMARY
|
| Constructor Summary | |
|---|---|
XmlFileOption()
|
|
| Method Summary | |
|---|---|
void |
addCommands(java.util.List<java.lang.String> commandList,
DevPartnerTool tool,
ToolPhase phase)
Adds the tool switches repreesnted by this option to the list of switches. |
boolean |
appliesTo(DevPartnerTool tool,
ToolPhase phase)
Returns true if this tool option applies to the given tool and tool phase. |
java.io.File |
calculateXmlFile(DevPartnerTool tool)
|
java.util.List<java.lang.String> |
creates(DevPartnerTool tool,
ToolPhase phase)
Returns a list of filenames representing the files that are created due to the presence of this tool option. |
void |
setFile(java.lang.String file)
Set the XML result file name. |
void |
setInclude(java.lang.String include)
Set the information to be included in the XML file. |
| Methods inherited from class com.codemesh.terp.ant.devpartner.AbstractToolOption |
|---|
expand, expand, getIf, getProject, getUnless, quoteIfNecessary, satisfies, setIf, setProject, setUnless |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.codemesh.terp.ant.devpartner.ToolOption |
|---|
getIf, getUnless, satisfies, setIf, setUnless |
| Field Detail |
|---|
public static final java.lang.String INCLUDE_ALL
public static final java.lang.String INCLUDE_SUMMARY
public static final java.lang.String INCLUDE_DETAILS
| Constructor Detail |
|---|
public XmlFileOption()
| Method Detail |
|---|
public void setFile(java.lang.String file)
file - the result file.public void setInclude(java.lang.String include)
include - the information to include.
public void addCommands(java.util.List<java.lang.String> commandList,
DevPartnerTool tool,
ToolPhase phase)
ToolOptionThis method is called by the tool repeatedly with different values for the tool phase to account for these possibilities.
addCommands in interface ToolOption<DevPartnerTool>commandList - the list to which the tool switches represented
by this option (if any) are added.tool - the tool for which we're doing this.phase - the tool phase in wihch we're doing this.
public boolean appliesTo(DevPartnerTool tool,
ToolPhase phase)
ToolOption
appliesTo in interface ToolOption<DevPartnerTool>tool - the tool for which we're asking.phase - the tool phase we're executing.
public java.io.File calculateXmlFile(DevPartnerTool tool)
public java.util.List<java.lang.String> creates(DevPartnerTool tool,
ToolPhase phase)
FileCreating
creates in interface FileCreating<DevPartnerTool>tool - the tool.phase - the tool phase.
|
terp - the ANT Tasks v1.2.229 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||