Class MistralTaskExecution.MistralTaskExecutionBuilder
- java.lang.Object
-
- org.openstack4j.openstack.workflow.domain.BaseExecution.BaseExecutionBuilder<MistralTaskExecution.MistralTaskExecutionBuilder,MistralTaskExecution>
-
- org.openstack4j.openstack.workflow.domain.MistralTaskExecution.MistralTaskExecutionBuilder
-
- All Implemented Interfaces:
Buildable.Builder<MistralTaskExecution.MistralTaskExecutionBuilder,MistralTaskExecution>
,ExecutionBuilder<MistralTaskExecution.MistralTaskExecutionBuilder,MistralTaskExecution>
,TaskExecutionBuilder<MistralTaskExecution.MistralTaskExecutionBuilder,MistralTaskExecution>
- Enclosing class:
- MistralTaskExecution
public static class MistralTaskExecution.MistralTaskExecutionBuilder extends BaseExecution.BaseExecutionBuilder<MistralTaskExecution.MistralTaskExecutionBuilder,MistralTaskExecution> implements TaskExecutionBuilder<MistralTaskExecution.MistralTaskExecutionBuilder,MistralTaskExecution>
Mistral task execution builder.- Author:
- Renat Akhmerov
-
-
Field Summary
-
Fields inherited from class org.openstack4j.openstack.workflow.domain.BaseExecution.BaseExecutionBuilder
model
-
-
Constructor Summary
Constructors Constructor Description MistralTaskExecutionBuilder()
MistralTaskExecutionBuilder(MistralTaskExecution model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MistralTaskExecution.MistralTaskExecutionBuilder
environment(Map<String,Object> env)
MistralTaskExecution.MistralTaskExecutionBuilder
from(MistralTaskExecution in)
Creates a Builder using the param M as the default valuesMistralTaskExecution.MistralTaskExecutionBuilder
processed(Boolean processed)
MistralTaskExecution.MistralTaskExecutionBuilder
published(Map<String,Object> published)
MistralTaskExecution.MistralTaskExecutionBuilder
reset(Boolean reset)
MistralTaskExecution.MistralTaskExecutionBuilder
result(Object result)
MistralTaskExecution.MistralTaskExecutionBuilder
runtimeContext(Map<String,Object> runtimeContext)
MistralTaskExecution.MistralTaskExecutionBuilder
type(String type)
MistralTaskExecution.MistralTaskExecutionBuilder
workflowDefinitionId(String wfDefId)
MistralTaskExecution.MistralTaskExecutionBuilder
workflowExecutionId(String wfExecId)
-
Methods inherited from class org.openstack4j.openstack.workflow.domain.BaseExecution.BaseExecutionBuilder
build, createdAt, description, from, id, state, stateInfo, tags, updatedAt, workflowName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openstack4j.common.Buildable.Builder
build
-
Methods inherited from interface org.openstack4j.model.workflow.builder.ExecutionBuilder
createdAt, description, id, tags, updatedAt, workflowName
-
-
-
-
Constructor Detail
-
MistralTaskExecutionBuilder
public MistralTaskExecutionBuilder()
-
MistralTaskExecutionBuilder
public MistralTaskExecutionBuilder(MistralTaskExecution model)
-
-
Method Detail
-
from
public MistralTaskExecution.MistralTaskExecutionBuilder from(MistralTaskExecution in)
Description copied from interface:Buildable.Builder
Creates a Builder using the param M as the default values- Specified by:
from
in interfaceBuildable.Builder<MistralTaskExecution.MistralTaskExecutionBuilder,MistralTaskExecution>
- Returns:
- Builder
-
type
public MistralTaskExecution.MistralTaskExecutionBuilder type(String type)
- Specified by:
type
in interfaceTaskExecutionBuilder<MistralTaskExecution.MistralTaskExecutionBuilder,MistralTaskExecution>
- See Also:
TaskExecution.getType()
-
workflowDefinitionId
public MistralTaskExecution.MistralTaskExecutionBuilder workflowDefinitionId(String wfDefId)
- Specified by:
workflowDefinitionId
in interfaceTaskExecutionBuilder<MistralTaskExecution.MistralTaskExecutionBuilder,MistralTaskExecution>
- See Also:
TaskExecution.getWorkflowDefinitionId()
-
workflowExecutionId
public MistralTaskExecution.MistralTaskExecutionBuilder workflowExecutionId(String wfExecId)
- Specified by:
workflowExecutionId
in interfaceTaskExecutionBuilder<MistralTaskExecution.MistralTaskExecutionBuilder,MistralTaskExecution>
- See Also:
TaskExecution.getWorkflowExecutionId()
-
runtimeContext
public MistralTaskExecution.MistralTaskExecutionBuilder runtimeContext(Map<String,Object> runtimeContext)
- Specified by:
runtimeContext
in interfaceTaskExecutionBuilder<MistralTaskExecution.MistralTaskExecutionBuilder,MistralTaskExecution>
- See Also:
TaskExecution.getRuntimeContext()
-
result
public MistralTaskExecution.MistralTaskExecutionBuilder result(Object result)
- Specified by:
result
in interfaceTaskExecutionBuilder<MistralTaskExecution.MistralTaskExecutionBuilder,MistralTaskExecution>
- See Also:
TaskExecution.getResult()
-
published
public MistralTaskExecution.MistralTaskExecutionBuilder published(Map<String,Object> published)
- Specified by:
published
in interfaceTaskExecutionBuilder<MistralTaskExecution.MistralTaskExecutionBuilder,MistralTaskExecution>
- See Also:
TaskExecution.getPublished()
-
processed
public MistralTaskExecution.MistralTaskExecutionBuilder processed(Boolean processed)
- Specified by:
processed
in interfaceTaskExecutionBuilder<MistralTaskExecution.MistralTaskExecutionBuilder,MistralTaskExecution>
- See Also:
TaskExecution.isProcessed()
-
reset
public MistralTaskExecution.MistralTaskExecutionBuilder reset(Boolean reset)
- Specified by:
reset
in interfaceTaskExecutionBuilder<MistralTaskExecution.MistralTaskExecutionBuilder,MistralTaskExecution>
- See Also:
TaskExecution.isReset()
-
environment
public MistralTaskExecution.MistralTaskExecutionBuilder environment(Map<String,Object> env)
- Specified by:
environment
in interfaceTaskExecutionBuilder<MistralTaskExecution.MistralTaskExecutionBuilder,MistralTaskExecution>
- See Also:
TaskExecution.getEnvironment()
-
-