public class TaskModel implements Named, Metoid, ValueProvider, MetaID, ContextAware
The model for task execution. Is computed without actual task invocation.
| Modifier and Type | Class and Description | 
|---|---|
| static class  | TaskModel.BuilderA builder for immutable model | 
BOOLEAN_TARGET, NUMBER_TARGET, STRING_TARGET, TIME_TARGET, VALUE_TARGET| Constructor and Description | 
|---|
| TaskModel()Copy constructor | 
| TaskModel()A constructor without dependencies | 
| Modifier and Type | Method and Description | 
|---|---|
| static TaskModel.Builder | builder()Create an empty model builder | 
| TaskModel.Builder | builder()Create a copy of this model an delegate it to builder | 
| TaskModel | copy()Shallow copy | 
| java.util.Collection<hep.dataforge.workspace.tasks.TaskModel.Dependency> | dependencies()An ordered collection of dependencies | 
| Context | getContext() | 
| Meta | getMeta() | 
| java.lang.String | getName() | 
| Workspace | getWorkspace() | 
| boolean | hasValue()Convenience method. Equals  meta().hasValue(path) | 
| java.util.Optional<hep.dataforge.values.Value> | optValue()Convenience method. Equals  meta().getValue(path) | 
| Meta | toMeta() | 
getName, isAnonimous, nameOfbuildFrom, getBoolean, getBoolean, getBoolean, getDouble, getDouble, getDouble, getInt, getInt, getInt, getString, getString, getString, getStringArray, getStringArray, getStringArray, getValue, getValue, getValue, hasValue, optBoolean, optNumber, optString, optTime, optValuegetContext, getLoggerpublic TaskModel()
Copy constructor
public TaskModel()
A constructor without dependencies
public static TaskModel.Builder builder()
Create an empty model builder
public TaskModel.Builder builder()
Create a copy of this model an delegate it to builder
public Workspace getWorkspace()
public Context getContext()
public TaskModel copy()
Shallow copy
public java.util.Collection<hep.dataforge.workspace.tasks.TaskModel.Dependency> dependencies()
An ordered collection of dependencies
public java.lang.String getName()
public Meta getMeta()
public Meta toMeta()
public java.util.Optional<hep.dataforge.values.Value> optValue()
Convenience method. Equals meta().getValue(path)
public boolean hasValue()
Convenience method. Equals meta().hasValue(path)