public abstract class AssignableBase<T extends Archive<?>> extends Object implements Assignable
Assignable
that delegates down to the Archive extensions inner archive. Used by
Archive extensions to simplify handling the generic extension mechanism.Modifier | Constructor and Description |
---|---|
protected |
AssignableBase(T archive)
Constructs a new instance using the underlying specified archive, which is required
|
Modifier and Type | Method and Description |
---|---|
<TYPE extends Assignable> |
as(Class<TYPE> clazz)
Wraps an Archive in a different 'view'.
|
protected T |
getArchive()
Returns the underlying archive
|
protected AssignableBase(T archive)
archive
- public final <TYPE extends Assignable> TYPE as(Class<TYPE> clazz)
as
in interface Assignable
clazz
- Extension interface to loadorg.jboss.shrinkwrap.api.Specializer#as(java.lang.Class)
protected final T getArchive()
Copyright © 2016 JBoss by Red Hat. All rights reserved.