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

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

public class ArchiveInfo
extends java.lang.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.
 java.io.File getDd()
          Gets the reference to the deployment descriptor.
 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.io.File getPersistenceDD()
          Gets the reference to the persistence deployment descriptor.
 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 setPersistenceDD(java.io.File persistenceDD)
          Sets the reference to the persistence 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 java.util.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(java.io.File dd)
Sets the reference to the deployment descriptor.

Parameters:
dd - the given deployment descriptor.

getDd

public java.io.File getDd()
Gets the reference to the deployment descriptor.

Returns:
the standard deployment descriptor.

setPersistenceDD

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

Parameters:
persistenceDD - the given persistence deployment descriptor.

getPersistenceDD

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

Returns:
the persistence deployment descriptor.

setDest

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

Parameters:
dest - the reference to resulting archive path.

getDest

public java.io.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 ?


Copyright © 2006-2007 OW2 Consortium. All Rights Reserved.