public abstract static class BaseExecution.BaseExecutionBuilder<T extends ExecutionBuilder<T,M>,M extends BaseExecution> extends Object implements ExecutionBuilder<T,M>
| Modifier and Type | Method and Description |
|---|---|
M |
build()
Creates and return the Model Entity M
|
T |
createdAt(Date createdAt) |
T |
description(String description) |
T |
from(Execution in) |
T |
id(String id) |
T |
state(State state) |
T |
stateInfo(String stateInfo) |
T |
tags(List<String> tags) |
T |
updatedAt(Date updatedAt) |
T |
workflowName(String wfName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromprotected M extends BaseExecution model
public M build()
Buildable.Builderbuild in interface Buildable.Builder<T extends ExecutionBuilder<T,M>,M extends BaseExecution>public T id(String id)
id in interface ExecutionBuilder<T extends ExecutionBuilder<T,M>,M extends BaseExecution>Execution.getId()public T description(String description)
description in interface ExecutionBuilder<T extends ExecutionBuilder<T,M>,M extends BaseExecution>Execution.getDescription()public T workflowName(String wfName)
workflowName in interface ExecutionBuilder<T extends ExecutionBuilder<T,M>,M extends BaseExecution>Execution.getWorkflowName()public T createdAt(Date createdAt)
createdAt in interface ExecutionBuilder<T extends ExecutionBuilder<T,M>,M extends BaseExecution>Execution.getCreatedAt()public T updatedAt(Date updatedAt)
updatedAt in interface ExecutionBuilder<T extends ExecutionBuilder<T,M>,M extends BaseExecution>Execution.getUpdatedAt()public T tags(List<String> tags)
tags in interface ExecutionBuilder<T extends ExecutionBuilder<T,M>,M extends BaseExecution>Execution.getTags()Copyright © 2019. All rights reserved.