public class DataCopyOptions extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static DataCopyOptions |
DEFAULT
The default data copy options used when no options are specified.
|
| Constructor and Description |
|---|
DataCopyOptions(boolean copyAllData,
Map<String,String> dataTranslationTable,
Map<String,? extends Serializable> replacementTable,
boolean useHeuristics)
Creates a new DataCopyOptions object with the specified parameters.
|
DataCopyOptions(boolean copyAllData,
Map<String,String> dataTranslationTable,
Map<String,? extends Serializable> replacementTable,
boolean useHeuristics,
List<String> converters)
Creates a new DataCopyOptions object with the specified parameters.
|
DataCopyOptions(List<String> converters)
Creates a new DataCopyOptions object with a list of custom data value converters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
copyAllData()
Checks if the engine should attempt to copy all compatible data.
|
Map<String,String> |
getDataTranslationTable()
Gets the Map that specifies from where the data values should be retrieved.
|
List<String> |
getDataValueConverters()
Retrieves the list of data value converter class names.
|
Map<String,? extends Serializable> |
getReplacementTable()
Gets the Map with concrete data values.
|
boolean |
useHeuristics()
Checks if heuristics should be applied to determine which data should be copied.
|
public static final DataCopyOptions DEFAULT
public DataCopyOptions(boolean copyAllData,
Map<String,String> dataTranslationTable,
Map<String,? extends 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.public DataCopyOptions(List<String> converters)
converters - a list of data value converter class names.
The classes must be accessible to the engine and must have
a public default constructor.public DataCopyOptions(boolean copyAllData,
Map<String,String> dataTranslationTable,
Map<String,? extends Serializable> replacementTable,
boolean useHeuristics,
List<String> converters)
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.converters - a list of data value converter class names.
The classes must be accessible to the engine and must have
a public default constructor.public boolean copyAllData()
public Map<String,String> getDataTranslationTable()
public Map<String,? extends Serializable> getReplacementTable()
public boolean useHeuristics()
Copyright © 2016 Eclipse Stardust. All Rights Reserved.