Class FunctionalTaskItem.Context
java.lang.Object
com.azure.resourcemanager.resources.fluentcore.dag.FunctionalTaskItem.Context
- All Implemented Interfaces:
HasInnerModel<TaskGroup.InvocationContext>,Indexable
- Enclosing interface:
FunctionalTaskItem
public static final class FunctionalTaskItem.Context
extends Object
implements HasInnerModel<TaskGroup.InvocationContext>, Indexable
Type representing context of an
FunctionalTaskItem.-
Method Summary
Modifier and TypeMethodDescriptionGets the wrapping internal models based on Azure REST API.key()Gets the index key.<T extends Indexable>
TtaskResult(String key) Get result of one of the task that belongs to this task's task group.voidMono()Gets a Mono upon subscription.
-
Method Details
-
taskResult
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
-
voidMono
Gets a Mono upon subscription.- Returns:
- a
Monoupon subscription emitsVoidIndexablewith key same as the key of this TaskItem.
-
innerModel
Description copied from interface:HasInnerModelGets the wrapping internal models based on Azure REST API.- Specified by:
innerModelin interfaceHasInnerModel<TaskGroup.InvocationContext>- Returns:
- wrapped inner model providing direct access to the underlying auto-generated API implementation, based on Azure REST API
-
key
Description copied from interface:IndexableGets the index key.
-