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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncloneField(Field field) voiddestroy()voidinit()isSupportedField(Field field) voidpopulateTargetField(AtlasInternalSession session) Populate target field value, usually by just copy from source field value.voidvoidvoidprocessPreSourceExecution(AtlasInternalSession atlasSession) voidprocessPreTargetExecution(AtlasInternalSession atlasSession) voidprocessPreValidation(AtlasInternalSession atlasSession) voidreadSourceValue(AtlasInternalSession session) Read source field value from source document and store into source field object.voidwriteTargetValue(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:
initin interfaceAtlasModule- Overrides:
initin classBaseAtlasModule
-
destroy
public void destroy()- Specified by:
destroyin interfaceAtlasModule- Overrides:
destroyin classBaseAtlasModule
-
processPreValidation
- Throws:
AtlasException
-
processPreSourceExecution
- Throws:
AtlasException
-
processPreTargetExecution
- Throws:
AtlasException
-
readSourceValue
Description copied from interface:AtlasModuleRead 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:AtlasModulePopulate target field value, usually by just copy from source field value. Also apply type converters where it's needed.- Specified by:
populateTargetFieldin interfaceAtlasModule- Overrides:
populateTargetFieldin classBaseAtlasModule- Parameters:
session- current session- Throws:
AtlasException- failed to populate target field value
-
writeTargetValue
Description copied from interface:AtlasModuleWrite 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:
isSupportedFieldin interfaceAtlasModule- Overrides:
isSupportedFieldin classBaseAtlasModule
-
cloneField
- Throws:
AtlasException
-
createField
-