org.ow2.util.ant.archive.info
Class ArchiveInfo

java.lang.Object
  extended by org.ow2.util.ant.archive.info.ArchiveInfo
Direct Known Subclasses:
ClientInfo, EarInfo, EjbInfo, WarInfo

public class ArchiveInfo
extends Object

Class that holds information about an archive.

Author:
Florent Benoit

Constructor Summary
ArchiveInfo()
          Default constructor.
 
Method Summary
 void addFileSet(org.apache.tools.ant.types.FileSet fileSet)
          Add the given fileset to the list of existing fileset.
 File getDD()
          Gets the reference to the deployment descriptor.
 File getDest()
          Gets the path to the archive that will be built.
 List<org.apache.tools.ant.types.FileSet> getFileSetList()
          Gets the list of fileset to include in the archive.
 File getManifest()
          Gets the reference to the manifest.
 File getPersistenceDD()
          Gets the reference to the persistence deployment descriptor.
 File getSpecificDD()
          Gets the reference to the specific deployment descriptor.
 boolean isExploded()
          Gets the state : exploded mode or not ?
 void setDD(File dd)
          Sets the reference to the deployment descriptor.
 void setDest(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 setManifest(File manifest)
          Sets the reference to the manifest.
 void setPersistenceDD(File persistenceDD)
          Sets the reference to the persistence deployment descriptor.
 void setSpecificDD(File specificDD)
          Sets the reference to the specific deployment descriptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchiveInfo

public ArchiveInfo()
Default constructor.

Method Detail

addFileSet

public void addFileSet(org.apache.tools.ant.types.FileSet fileSet)
Add the given fileset to the list of existing fileset.

Parameters:
fileSet - the fileset to add.

getFileSetList

public List<org.apache.tools.ant.types.FileSet> getFileSetList()
Gets the list of fileset to include in the archive.

Returns:
the list of fileset to include in the archive.

setDD

public void setDD(File dd)
Sets the reference to the deployment descriptor.

Parameters:
dd - the given deployment descriptor.

getDD

public File getDD()
Gets the reference to the deployment descriptor.

Returns:
the standard deployment descriptor.

setSpecificDD

public void setSpecificDD(File specificDD)
Sets the reference to the specific deployment descriptor.

Parameters:
specificDD - the given specific deployment descriptor.

getSpecificDD

public File getSpecificDD()
Gets the reference to the specific deployment descriptor.

Returns:
the specific deployment descriptor.

setPersistenceDD

public void setPersistenceDD(File persistenceDD)
Sets the reference to the persistence deployment descriptor.

Parameters:
persistenceDD - the given persistence deployment descriptor.

getPersistenceDD

public File getPersistenceDD()
Gets the reference to the persistence deployment descriptor.

Returns:
the persistence deployment descriptor.

setDest

public void setDest(File dest)
Sets the path to the archive that will be built.

Parameters:
dest - the reference to resulting archive path.

getDest

public File getDest()
Gets the path to the archive that will be built.

Returns:
the reference to resulting archive path.

setExploded

public void setExploded(boolean exploded)
Sets the exploded mode to true or false.

Parameters:
exploded - boolean true/false

isExploded

public boolean isExploded()
Gets the state : exploded mode or not ?

Returns:
the state : exploded mode or not ?

getManifest

public File getManifest()
Gets the reference to the manifest.

Returns:
the reference to the manifest.

setManifest

public void setManifest(File manifest)
Sets the reference to the manifest.

Parameters:
manifest - the reference to the manifest.


Copyright © 2007-2013 Bull S.A.S.. All Rights Reserved.