IN - the input data type.OUT - the output data type.public abstract class InvocationFactoryTarget<IN,OUT> extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Modifier and Type | Method and Description |
|---|---|
abstract Object[] |
getFactoryArgs() |
abstract Class<? extends ContextInvocation<IN,OUT>> |
getInvocationClass()
Returns the target class.
|
static <IN,OUT> InvocationFactoryTarget<IN,OUT> |
targetInvocation(Class<? extends ContextInvocation<IN,OUT>> targetClass)
Returns a target based on the specified invocation class.
|
static <IN,OUT> InvocationFactoryTarget<IN,OUT> |
targetInvocation(Class<? extends ContextInvocation<IN,OUT>> targetClass,
Object... factoryArgs)
Returns a target based on the specified invocation class.
|
static <IN,OUT> InvocationFactoryTarget<IN,OUT> |
targetInvocation(ClassToken<? extends ContextInvocation<IN,OUT>> targetToken)
Returns a target based on the specified invocation token.
|
static <IN,OUT> InvocationFactoryTarget<IN,OUT> |
targetInvocation(ClassToken<? extends ContextInvocation<IN,OUT>> targetToken,
Object... factoryArgs)
Returns a target based on the specified invocation token.
|
static <IN,OUT> InvocationFactoryTarget<IN,OUT> |
targetInvocation(ContextInvocation<IN,OUT> targetInvocation)
Returns a target based on the specified invocation.
|
static <IN,OUT> InvocationFactoryTarget<IN,OUT> |
targetInvocation(ContextInvocation<IN,OUT> targetInvocation,
Object... factoryArgs)
Returns a target based on the specified invocation.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdescribeContents, writeToParcel@Nonnull public static <IN,OUT> InvocationFactoryTarget<IN,OUT> targetInvocation(@Nonnull Class<? extends ContextInvocation<IN,OUT>> targetClass)
IN - the input data type.OUT - the output data type.targetClass - the target invocation class.@Nonnull public static <IN,OUT> InvocationFactoryTarget<IN,OUT> targetInvocation(@Nonnull Class<? extends ContextInvocation<IN,OUT>> targetClass, @Nullable Object... factoryArgs)
IN - the input data type.OUT - the output data type.targetClass - the target invocation class.factoryArgs - the invocation factory arguments.@Nonnull public static <IN,OUT> InvocationFactoryTarget<IN,OUT> targetInvocation(@Nonnull ClassToken<? extends ContextInvocation<IN,OUT>> targetToken)
IN - the input data type.OUT - the output data type.targetToken - the target invocation token.@Nonnull public static <IN,OUT> InvocationFactoryTarget<IN,OUT> targetInvocation(@Nonnull ClassToken<? extends ContextInvocation<IN,OUT>> targetToken, @Nullable Object... factoryArgs)
IN - the input data type.OUT - the output data type.targetToken - the target invocation token.factoryArgs - the invocation factory arguments.@Nonnull public static <IN,OUT> InvocationFactoryTarget<IN,OUT> targetInvocation(@Nonnull ContextInvocation<IN,OUT> targetInvocation)
IN - the input data type.OUT - the output data type.targetInvocation - the target invocation.@Nonnull public static <IN,OUT> InvocationFactoryTarget<IN,OUT> targetInvocation(@Nonnull ContextInvocation<IN,OUT> targetInvocation, @Nullable Object... factoryArgs)
IN - the input data type.OUT - the output data type.targetInvocation - the target invocation.factoryArgs - the invocation factory arguments.@Nonnull public abstract Class<? extends ContextInvocation<IN,OUT>> getInvocationClass()