|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.ow2.petals.ant.AbstractConfigureArchiveAntTask
public class AbstractConfigureArchiveAntTask
Abstract class for all tasks configuring an archive.
| Field Summary | |
|---|---|
protected java.lang.String |
file
Ant task attribute 'file' locating the archive to configure. |
protected static java.lang.String |
JBIDESCRIPTOR_ZIPENTRY_NAME
|
protected java.lang.String |
outputFile
Ant task attribute 'outputFile' defined the filename of the archive configured. |
protected boolean |
overwriteOutputFile
Overwrite the output archive |
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
AbstractConfigureArchiveAntTask()
|
|
| Method Summary | |
|---|---|
protected static java.io.File |
downloadURL(java.net.URL componentURL)
Download the given URL into a File. |
void |
execute()
|
java.lang.String |
getFile()
File getter. |
java.lang.String |
getOutputFile()
OutputFile getter. |
boolean |
isOverwriteOutputFile()
|
void |
setFile(java.lang.String file)
File setter. |
void |
setOutputFile(java.lang.String outputFile)
OutputFile setter. |
void |
setOverwriteOutputFile(boolean overwriteOutputFile)
|
protected static java.net.URL |
validateFileParameter(java.lang.String fileParameter,
java.lang.String paramaterName)
Validate the file parameter. |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String JBIDESCRIPTOR_ZIPENTRY_NAME
protected java.lang.String file
protected java.lang.String outputFile
protected boolean overwriteOutputFile
| Constructor Detail |
|---|
public AbstractConfigureArchiveAntTask()
| Method Detail |
|---|
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException
protected static final java.io.File downloadURL(java.net.URL componentURL)
throws java.io.IOException
componentURL -
java.io.IOException
protected static final java.net.URL validateFileParameter(java.lang.String fileParameter,
java.lang.String paramaterName)
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildExceptionpublic java.lang.String getFile()
public void setFile(java.lang.String file)
file - public java.lang.String getOutputFile()
public void setOutputFile(java.lang.String outputFile)
outputFile - public boolean isOverwriteOutputFile()
public void setOverwriteOutputFile(boolean overwriteOutputFile)
overwriteOutputFile - the overwriteOutputFile to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||