Class FunctionalTaskItem.Context
- java.lang.Object
-
- com.microsoft.azure.management.resources.fluentcore.dag.FunctionalTaskItem.Context
-
- All Implemented Interfaces:
HasInner<TaskGroup.InvocationContext>,Indexable
- Enclosing interface:
- FunctionalTaskItem
public static final class FunctionalTaskItem.Context extends Object implements HasInner<TaskGroup.InvocationContext>, Indexable
Type representing context of anFunctionalTaskItem.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskGroup.InvocationContextinner()Stringkey()<T extends Indexable>
TtaskResult(String key)Get result of one of the task that belongs to this task's task group.rx.Observable<Indexable>voidObservable()
-
-
-
Method Detail
-
taskResult
public <T extends Indexable> T taskResult(String key)
Get result of one of the task that belongs to this task's task group.- Type Parameters:
T- the actual type of the task result- Parameters:
key- the task key- Returns:
- the task result, null will be returned if task has not produced a result yet
-
voidObservable
public rx.Observable<Indexable> voidObservable()
- Returns:
- an Observable upon subscription emits
VoidIndexablewith key same as the key of this TaskItem.
-
inner
public TaskGroup.InvocationContext inner()
- Specified by:
innerin interfaceHasInner<TaskGroup.InvocationContext>- Returns:
- wrapped inner object providing direct access to the underlying auto-generated API implementation, based on Azure REST API
-
-