Class BaseExecution.BaseExecutionBuilder<T extends ExecutionBuilder<T,M>,M extends BaseExecution>
- java.lang.Object
-
- org.openstack4j.openstack.workflow.domain.BaseExecution.BaseExecutionBuilder<T,M>
-
- All Implemented Interfaces:
Buildable.Builder<T,M>,ExecutionBuilder<T,M>
- Direct Known Subclasses:
MistralActionExecution.MistralActionExecutionBuilder,MistralTaskExecution.MistralTaskExecutionBuilder,MistralWorkflowExecution.MistralWorkflowExecutionBuilder
- Enclosing class:
- BaseExecution
public abstract static class BaseExecution.BaseExecutionBuilder<T extends ExecutionBuilder<T,M>,M extends BaseExecution> extends Object implements ExecutionBuilder<T,M>
Base execution builder.- Author:
- Renat Akhmerov
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mbuild()Creates and return the Model Entity MTcreatedAt(Date createdAt)Tdescription(String description)Tfrom(Execution in)Tid(String id)Tstate(State state)TstateInfo(String stateInfo)Ttags(List<String> tags)TupdatedAt(Date updatedAt)TworkflowName(String wfName)-
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
from
-
-
-
-
Field Detail
-
model
protected M extends BaseExecution model
-
-
Method Detail
-
build
public M build()
Description copied from interface:Buildable.BuilderCreates and return the Model Entity M- Specified by:
buildin interfaceBuildable.Builder<T extends ExecutionBuilder<T,M>,M extends BaseExecution>- Returns:
- M instance
-
id
public T id(String id)
- Specified by:
idin interfaceExecutionBuilder<T extends ExecutionBuilder<T,M>,M extends BaseExecution>- See Also:
Execution.getId()
-
description
public T description(String description)
- Specified by:
descriptionin interfaceExecutionBuilder<T extends ExecutionBuilder<T,M>,M extends BaseExecution>- See Also:
Execution.getDescription()
-
workflowName
public T workflowName(String wfName)
- Specified by:
workflowNamein interfaceExecutionBuilder<T extends ExecutionBuilder<T,M>,M extends BaseExecution>- See Also:
Execution.getWorkflowName()
-
createdAt
public T createdAt(Date createdAt)
- Specified by:
createdAtin interfaceExecutionBuilder<T extends ExecutionBuilder<T,M>,M extends BaseExecution>- See Also:
Execution.getCreatedAt()
-
updatedAt
public T updatedAt(Date updatedAt)
- Specified by:
updatedAtin interfaceExecutionBuilder<T extends ExecutionBuilder<T,M>,M extends BaseExecution>- See Also:
Execution.getUpdatedAt()
-
tags
public T tags(List<String> tags)
- Specified by:
tagsin interfaceExecutionBuilder<T extends ExecutionBuilder<T,M>,M extends BaseExecution>- See Also:
Execution.getTags()
-
-