public class ExecutionFlowDescriptor
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
executionSpec represents the spec of the
parameters accepted by the process, with, among others: type, default value
and, optionally, possible values for each parameter. Thus ExecutionSpec might
be a huge object. Note that when marshalling only a reference to a specific
ExecutionSpec is stored in the XML to optimize performance and avoid
redundancy between various ExecutionFlowDesciptor that might have the same
ExecutionSpec.
At runtime, we build a RealizedFlow which references an
ExecutionFlowDescriptor. As it happens AFTER marshalling / unmarshalling
process, the ExecutionSpec is null but we manage to retrieve the
ExecutionSpec and store it in the RealizedFlow, whereas set values of the
parameters are stored in the values map.
Generally, values object are either a PrimitiveAccessor or a
RefValue but can be other objects.| Constructor and Description |
|---|
ExecutionFlowDescriptor() |
ExecutionFlowDescriptor(java.lang.String name,
java.lang.String description,
java.util.Map<java.lang.String,java.lang.Object> values,
ExecutionSpec executionSpec) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
clone()
The referenced
ExecutionSpec is NOT cloned. |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription() |
ExecutionSpec |
getExecutionSpec() |
java.lang.String |
getName() |
java.lang.String |
getPath()
Deprecated.
will be removed in SLC 2.x, the path should be the part of
the name with '/'
|
java.util.Map<java.lang.String,java.lang.Object> |
getValues() |
int |
hashCode() |
void |
setDescription(java.lang.String description) |
void |
setExecutionSpec(ExecutionSpec executionSpec) |
void |
setName(java.lang.String name) |
void |
setPath(java.lang.String path)
Deprecated.
will be removed in SLC 2.0, the path should be the part of
the name with '/'
|
void |
setValues(java.util.Map<java.lang.String,java.lang.Object> values) |
java.lang.String |
toString() |
public ExecutionFlowDescriptor()
public ExecutionFlowDescriptor(java.lang.String name,
java.lang.String description,
java.util.Map<java.lang.String,java.lang.Object> values,
ExecutionSpec executionSpec)
protected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
ExecutionSpec is NOT cloned.clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic java.lang.String getName()
public java.lang.String getPath()
public void setPath(java.lang.String path)
public java.util.Map<java.lang.String,java.lang.Object> getValues()
public ExecutionSpec getExecutionSpec()
public void setName(java.lang.String name)
public void setValues(java.util.Map<java.lang.String,java.lang.Object> values)
public void setExecutionSpec(ExecutionSpec executionSpec)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2007–2020. All rights reserved.