|
|||||||||
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.objectweb.easybeans.ant.archive.AbsArchive
public class AbsArchive
Common task that creates archives.
Field Summary | |
---|---|
private java.io.File |
deploymentDescriptor
Reference to the standard deployment descriptor. |
private java.io.File |
dest
Full path to the archive. |
private boolean |
exploded
Exploded mode or not ? (default = file). |
private java.util.List<org.apache.tools.ant.types.FileSet> |
fileSetList
List of fileset used to add files. |
private java.lang.String |
name
Relative Name of the archive (when embedded). |
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 | |
---|---|
AbsArchive()
Default constructor. |
Method Summary | |
---|---|
void |
addFileSet(org.apache.tools.ant.types.ZipFileSet zipFileSet)
Add the given fileset to the list of existing fileset. |
java.io.File |
getDest()
Gets the path to the archive that will be built. |
java.util.List<org.apache.tools.ant.types.FileSet> |
getFileSetList()
Gets the list of fileset to include in the archive. |
java.lang.String |
getName()
Gets the relative Name of the archive (when embedded). |
boolean |
isExploded()
Gets the state : exploded mode or not ? |
void |
setDD(java.io.File dd)
Sets the reference to the deployment descriptor. |
void |
setDest(java.io.File dest)
Sets the path to the archive that will be built. |
void |
setExploded(boolean exploded)
Sets the exploded mode to true or false. |
void |
setName(java.lang.String name)
Sets the relative Name of the archive (when embedded). |
protected void |
updateArchiveInfo(ArchiveInfo archiveInfo)
Update the given archive info object with some attributes. |
Methods inherited from class org.apache.tools.ant.Task |
---|
bindToOwner, execute, 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 |
---|
private java.io.File deploymentDescriptor
private java.io.File dest
private java.lang.String name
private boolean exploded
private java.util.List<org.apache.tools.ant.types.FileSet> fileSetList
Constructor Detail |
---|
public AbsArchive()
Method Detail |
---|
public void addFileSet(org.apache.tools.ant.types.ZipFileSet zipFileSet)
zipFileSet
- the fileset to add.public java.util.List<org.apache.tools.ant.types.FileSet> getFileSetList()
public void setExploded(boolean exploded)
exploded
- boolean true/falsepublic boolean isExploded()
public void setDD(java.io.File dd)
dd
- the given deployment descriptor.public void setDest(java.io.File dest)
dest
- the reference to resulting archive path.public java.io.File getDest()
public void setName(java.lang.String name)
name
- the relative Name of the archive.public java.lang.String getName()
protected void updateArchiveInfo(ArchiveInfo archiveInfo)
archiveInfo
- the object to update
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |