|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.stardust.engine.api.runtime.DataCopyOptions
public class DataCopyOptions
Options class that specifies how the data should be copied between two process instances.
| Field Summary | |
|---|---|
static DataCopyOptions |
DEFAULT
The default data copy options used when no options are specified. |
| Constructor Summary | |
|---|---|
DataCopyOptions(boolean copyAllData,
java.util.Map<java.lang.String,java.lang.String> dataTranslationTable,
java.util.Map<java.lang.String,? extends java.io.Serializable> replacementTable,
boolean useHeuristics)
Creates a new DataCopyOptions object with the specified parameters. |
|
| Method Summary | |
|---|---|
boolean |
copyAllData()
Checks if the engine should attempt to copy all compatible data. |
java.util.Map<java.lang.String,java.lang.String> |
getDataTranslationTable()
Gets the Map that specifies from where the data values should be retrieved. |
java.util.Map<java.lang.String,? extends java.io.Serializable> |
getReplacementTable()
Gets the Map with concrete data values. |
boolean |
useHeuristics()
Checks if heuristics should be applied to determine which data should be copied. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final DataCopyOptions DEFAULT
| Constructor Detail |
|---|
public DataCopyOptions(boolean copyAllData,
java.util.Map<java.lang.String,java.lang.String> dataTranslationTable,
java.util.Map<java.lang.String,? extends java.io.Serializable> replacementTable,
boolean useHeuristics)
copyAllData - if true, it will attempt to copy all data
from the source process instance to the target process instance.dataTranslationTable - a Map that indicates that the values for the specified
data should be taken from another data object. The keys are the
IDs of the target data and the values are the IDs of the source
data objects.replacementTable - a Map that specifies concrete values for target data. The
keys are the IDs of the target data.useHeuristics - if true then the engine will attempt to auto determine which
data must be copied by investigating the data mappings and data
paths of the target process instance.| Method Detail |
|---|
public boolean copyAllData()
public java.util.Map<java.lang.String,java.lang.String> getDataTranslationTable()
public java.util.Map<java.lang.String,? extends java.io.Serializable> getReplacementTable()
public boolean useHeuristics()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||