| Modifier and Type | Method and Description |
|---|---|
static <T extends Asset,A1,A2> |
adapt(Publisher<T,A1> publisher,
Transform<T,A2,A1> transform)
|
Class<A2> |
api()
Return the bound API.
|
void |
publish(T asset,
A2 content)
Publishes an asset through the bound service.
|
Type<? extends T> |
type()
Returns the bound type.
|
public static <T extends Asset,A1,A2> Publisher<T,A2> adapt(Publisher<T,A1> publisher, Transform<T,A2,A1> transform)
publisher - the publishertransform - the transformpublic Type<? extends T> type()
AccessorCopyright © 2018. All rights reserved.