T
- the type of the input to the taskR
- the type of the result of the task@ExperimentalApi
public interface SandboxTask<T,R>
Sandbox.execute(SandboxTask, Object)
.
The class must be public and must have a public parameter less constructor.Modifier and Type | Method and Description |
---|---|
R |
apply(SandboxTaskContext context,
T t)
Applies this task to the given argument.
|
SandboxSerializer<T> |
inputSerializer()
Returns
SandboxSerializer for the task input. |
SandboxSerializer<R> |
outputSerializer()
Returns
SandboxSerializer for the task output. |
R apply(SandboxTaskContext context, T t)
SandboxSerializer<T> inputSerializer()
SandboxSerializer
for the task input.SandboxSerializer<R> outputSerializer()
SandboxSerializer
for the task output.Copyright © 2003–2020 Atlassian. All rights reserved.