Package io.atlasmap.core
Class DefaultAtlasFieldActionService
java.lang.Object
io.atlasmap.core.DefaultAtlasFieldActionService
- All Implemented Interfaces:
AtlasFieldActionService
-
Method Summary
Modifier and TypeMethodDescriptionbuildAndProcessAction
(ActionProcessor actionProcessor, Map<String, Object> actionParameters, Field field) findActionDetail
(Action action, FieldType sourceType) 1.findActionProcessor
(Action action, FieldType sourceType) findActionProcessor
(String name, Object value) protected ActionDetail
getActionDetailByActionName
(String actionName) Deprecated.void
init()
void
init
(ClassLoader classLoader) loadFieldActions
(ClassLoader classLoader) processActions
(AtlasInternalSession session, Field field)
-
Method Details
-
getInstance
-
init
public void init() -
init
-
loadFieldActions
-
loadFieldActions
-
listActionDetails
- Specified by:
listActionDetails
in interfaceAtlasFieldActionService
-
getActionDetailByActionName
Deprecated. -
findActionDetail
1. Find FieldAction by name 2. If multiple matches are found, return the best one based on FieldType sourceType 3. If there is not an exact match to sourceType, return the first FieldAction 4. If no matches found, return null- Specified by:
findActionDetail
in interfaceAtlasFieldActionService
- Parameters:
action
- The name of the FieldActionsourceType
- A hint used to determine which FieldAction to use when multiple FieldActions exist with the same name- Returns:
- ActionDetail
- Throws:
AtlasException
-
findActionProcessor
public ActionProcessor findActionProcessor(Action action, FieldType sourceType) throws AtlasException - Specified by:
findActionProcessor
in interfaceAtlasFieldActionService
- Throws:
AtlasException
-
findActionProcessor
-
buildAndProcessAction
-
processActions
- Specified by:
processActions
in interfaceAtlasFieldActionService
- Throws:
AtlasException
-
getConversionService
-