org.jboss.tattletale.core
Class NestableArchive

java.lang.Object
  extended by org.jboss.tattletale.core.Archive
      extended by org.jboss.tattletale.core.NestableArchive
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable
Direct Known Subclasses:
SunJava5, SunJava6

public abstract class NestableArchive
extends Archive

Nestable archive

Author:
Jesper Pedersen
See Also:
Serialized Form

Constructor Summary
NestableArchive(int type, java.lang.String name, java.util.List<java.lang.String> manifest, java.util.SortedSet<java.lang.String> requires, java.util.SortedMap<java.lang.String,java.lang.Long> provides, java.util.SortedMap<java.lang.String,java.util.SortedSet<java.lang.String>> packageDependencies, java.util.SortedMap<java.lang.String,java.util.SortedSet<java.lang.String>> blacklistedDependencies, Location location)
          Constructor
 
Method Summary
 void addSubArchive(Archive value)
          Add a sub-archive
 java.util.List<Archive> getSubArchives()
          Get the sub-archives
 
Methods inherited from class org.jboss.tattletale.core.Archive
addLocation, compareTo, doesProvide, equals, getBlackListedDependencies, getLocations, getManifest, getManifestValue, getName, getPackageDependencies, getProvides, getRequires, getType, hashCode, hasManifestKey, isOSGi, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NestableArchive

public NestableArchive(int type,
                       java.lang.String name,
                       java.util.List<java.lang.String> manifest,
                       java.util.SortedSet<java.lang.String> requires,
                       java.util.SortedMap<java.lang.String,java.lang.Long> provides,
                       java.util.SortedMap<java.lang.String,java.util.SortedSet<java.lang.String>> packageDependencies,
                       java.util.SortedMap<java.lang.String,java.util.SortedSet<java.lang.String>> blacklistedDependencies,
                       Location location)
Constructor

Parameters:
type - The type
name - The name
manifest - The manifest
requires - The requires
provides - The provides
packageDependencies - The package dependencies
blacklistedDependencies - The blacklisted dependencies
location - The location
Method Detail

getSubArchives

public java.util.List<Archive> getSubArchives()
Get the sub-archives

Returns:
The value

addSubArchive

public void addSubArchive(Archive value)
Add a sub-archive

Parameters:
value - The value


Copyright ? 2009 JBoss (http://www.jboss.com/)