Class AssignableBase<T extends Archive<?>>
java.lang.Object
org.jboss.shrinkwrap.impl.base.AssignableBase<T>
- All Implemented Interfaces:
Assignable
- Direct Known Subclasses:
AbstractStreamExporterImpl, ConfigurableArchiveImpl, ContainerBase, ExplodedExporterImpl, ExplodedImporterImpl, IdentifiableArchiveImpl, TarBz2ImporterImpl, TarGzImporterImpl, TarImporterImpl, ZipImporterImpl
A generic implementation of
Assignable that delegates down to the Archive extensions inner archive. Used by
Archive extensions to simplify handling the generic extension mechanism.- Version:
- $Revision: $
- Author:
- Aslak Knutsen
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAssignableBase(T archive) Constructs a new instance using the underlying specified archive, which is required -
Method Summary
Modifier and TypeMethodDescriptionfinal <TYPE extends Assignable>
TYPEprotected final TReturns the underlying archive
-
Constructor Details
-
AssignableBase
Constructs a new instance using the underlying specified archive, which is required- Parameters:
archive- The archive to be used by this instance. This must not benull.
-
-
Method Details
-
as
- Specified by:
asin interfaceAssignable- See Also:
-
getArchive
Returns the underlying archive
-