|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IImportTask
This interface represents a complete description of an import task.
It includes all configuration options and data required by the IImportController
implementation.
An IImportExportTask.setToolAdapter(org.electrocodeogram.cpc.importexport.api.generic.IGenericImportExportDescriptor)
value needs to implement IImportToolAdapterDescriptor
in order for this task to be valid.
A new instance can be obtained from IImportController.createTask()
.
IImportController
,
IImportExportTask
Method Summary | |
---|---|
java.util.List<IImportFilterStrategyDescriptor> |
getImportFilterStrategies()
Retrieves a list of descriptors of all IImportFilterStrategy s which should be applied to
this import. |
java.util.Map<IImportFilterStrategyDescriptor,java.util.Map<java.lang.String,java.lang.String>> |
getImportFilterStrategyOptions()
Retrieves configuration options for all IImportFilterStrategy s. |
boolean |
isClearExistingClones()
Whether existing clone data should be purged before processing the import. |
void |
setClearExistingClones(boolean clearExistingClones)
Specifies whether existing clone data should be purged before processing the import. |
void |
setImportFilterStrategies(java.util.List<IImportFilterStrategyDescriptor> importFilterStrategies)
Sets a list of descriptors of all IImportFilterStrategy s which should be applied to
this import. |
void |
setImportFilterStrategyOptions(java.util.Map<IImportFilterStrategyDescriptor,java.util.Map<java.lang.String,java.lang.String>> importFilterStrategyOptions)
Sets the configuration options for all IImportFilterStrategy s. |
Methods inherited from interface org.electrocodeogram.cpc.importexport.api.generic.IImportExportTask |
---|
getProjects, getToolAdapter, getToolAdapterOptions, isValid, setProjects, setToolAdapter, setToolAdapterOptions |
Method Detail |
---|
boolean isClearExistingClones()
void setClearExistingClones(boolean clearExistingClones)
clearExistingClones
- true if existing clone data should be deletedjava.util.List<IImportFilterStrategyDescriptor> getImportFilterStrategies()
IImportFilterStrategy
s which should be applied to
this import.
IImportFilterStrategyDescriptor
s, may be NULL.void setImportFilterStrategies(java.util.List<IImportFilterStrategyDescriptor> importFilterStrategies)
IImportFilterStrategy
s which should be applied to
this import.
importFilterStrategies
- a list of IImportFilterStrategyDescriptor
s, may be NULL.getImportFilterStrategies()
java.util.Map<IImportFilterStrategyDescriptor,java.util.Map<java.lang.String,java.lang.String>> getImportFilterStrategyOptions()
IImportFilterStrategy
s.
Only IImportFilterStrategy
s which defined configuration options in their
extension descriptor are guaranteed to be listed in the map.
If getImportFilterStrategies()
is null, this value may also be null.
IImportFilterStrategy
, may be NULL.void setImportFilterStrategyOptions(java.util.Map<IImportFilterStrategyDescriptor,java.util.Map<java.lang.String,java.lang.String>> importFilterStrategyOptions)
IImportFilterStrategy
s.
importFilterStrategyOptions
- a map which may contain configuration option maps
for each IImportFilterStrategy
, may be NULL.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |