com.springsource.bundlor.internal
Interface PartialManifest

All Known Subinterfaces:
ReadablePartialManifest
All Known Implementing Classes:
IncrementalReadablePartialManifest, StandardReadablePartialManifest

public interface PartialManifest

Describes a partially-constructed, dynamically-generated manifest. ArtefactAnalysers contribute manifest elements (imports and exports) to a PartialManifest during analysis.

Concurrent Semantics
Implementations needn't be threadsafe.

Author:
Rob Harrop, Ben Hale

Method Summary
 void recordExportPackage(java.lang.String fullyQualifiedPackageName)
          Records that the supplied package should be exported.
 void recordReferencedPackage(java.lang.String fullyQualifiedPackageName)
          Records that the supplied package is referenced by the artefact being analysed.
 void recordReferencedType(java.lang.String fullyQualifiedTypeName)
          Records that the supplied type is referenced by the code being analysed.
 void recordType(java.lang.String fullyQualifiedTypeName)
          Records the existence of a type
 void recordUsesPackage(java.lang.String usingPackage, java.lang.String usedPackage)
          Records a uses directive member for a given package export.
 

Method Detail

recordUsesPackage

void recordUsesPackage(java.lang.String usingPackage,
                       java.lang.String usedPackage)
Records a uses directive member for a given package export.

Parameters:
usingPackage - the package that is using the package.
usedPackage - the package being used.

recordReferencedType

void recordReferencedType(java.lang.String fullyQualifiedTypeName)
Records that the supplied type is referenced by the code being analysed.

Parameters:
fullyQualifiedTypeName - the fully-qualified name of the referenced type

recordType

void recordType(java.lang.String fullyQualifiedTypeName)
Records the existence of a type

Parameters:
fullyQualifiedTypeName - The fully qualified name of the type

recordReferencedPackage

void recordReferencedPackage(java.lang.String fullyQualifiedPackageName)
Records that the supplied package is referenced by the artefact being analysed.

Parameters:
fullyQualifiedPackageName - The fully-qualified name of the package

recordExportPackage

void recordExportPackage(java.lang.String fullyQualifiedPackageName)
Records that the supplied package should be exported.

Parameters:
fullyQualifiedPackageName - The fully-qualified name of the package