Package io.atlasmap.java.module
Class JavaModule
java.lang.Object
io.atlasmap.core.BaseAtlasModule
io.atlasmap.java.module.JavaModule
- All Implemented Interfaces:
AtlasModuleMXBean
,AtlasModule
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncloneField
(Field field) void
destroy()
void
init()
isSupportedField
(Field field) void
populateTargetField
(AtlasInternalSession session) Populate target field value, usually by just copy from source field value.void
void
void
processPreSourceExecution
(AtlasInternalSession atlasSession) void
processPreTargetExecution
(AtlasInternalSession atlasSession) void
processPreValidation
(AtlasInternalSession atlasSession) void
readSourceValue
(AtlasInternalSession session) Read source field value from source document and store into source field object.void
writeTargetValue
(AtlasInternalSession session) Write target field value into target document.Methods inherited from class io.atlasmap.core.BaseAtlasModule
applySourceFieldActions, applyTargetFieldActions, createCollectionHelper, getClassLoader, getClassName, getCollectionHelper, getConversionService, getDataFormats, getDataSourceMetadata, getDocId, getDocName, getFieldActionService, getMode, getModeName, getName, getPackageNames, getSourceCount, getSourceErrorCount, getSourceMaxExecutionTime, getSourceMinExecutionTime, getSourceSuccessCount, getSourceTotalExecutionTime, getTargetCount, getTargetErrorCount, getTargetMaxExecutionTime, getTargetMinExecutionTime, getTargetSuccessCount, getTargetTotalExecutionTime, getUri, getUriDataType, getUriParameters, getUuid, getVersion, isAutomaticallyProcessOutputFieldActions, isSourceSupported, isStatisticsEnabled, isStatisticsSupported, isTargetSupported, listSupportedModes, processLookupField, processPostValidation, readAndResetStatistics, setAutomaticallyProcessOutputFieldActions, setClassLoader, setConversionService, setDataSourceMetadata, setDocId, setDocName, setFieldActionService, setMode, setStatisticsEnabled, setUri
-
Field Details
-
DEFAULT_LIST_CLASS
- See Also:
-
-
Constructor Details
-
JavaModule
public JavaModule()
-
-
Method Details
-
init
public void init()- Specified by:
init
in interfaceAtlasModule
- Overrides:
init
in classBaseAtlasModule
-
destroy
public void destroy()- Specified by:
destroy
in interfaceAtlasModule
- Overrides:
destroy
in classBaseAtlasModule
-
processPreValidation
- Throws:
AtlasException
-
processPreSourceExecution
- Throws:
AtlasException
-
processPreTargetExecution
- Throws:
AtlasException
-
readSourceValue
Description copied from interface:AtlasModule
Read source field value from source document and store into source field object.- Parameters:
session
- current session- Throws:
AtlasException
- failed to read source value
-
populateTargetField
Description copied from interface:AtlasModule
Populate target field value, usually by just copy from source field value. Also apply type converters where it's needed.- Specified by:
populateTargetField
in interfaceAtlasModule
- Overrides:
populateTargetField
in classBaseAtlasModule
- Parameters:
session
- current session- Throws:
AtlasException
- failed to populate target field value
-
writeTargetValue
Description copied from interface:AtlasModule
Write target field value into target document.- Parameters:
session
- current session- Throws:
AtlasException
- faield to write target field value
-
processPostSourceExecution
- Throws:
AtlasException
-
processPostTargetExecution
- Throws:
AtlasException
-
isSupportedField
- Specified by:
isSupportedField
in interfaceAtlasModule
- Overrides:
isSupportedField
in classBaseAtlasModule
-
cloneField
- Throws:
AtlasException
-
createField
-