Class DefaultAtlasFieldActionService

  • All Implemented Interfaces:
    io.atlasmap.spi.AtlasFieldActionService

    public class DefaultAtlasFieldActionService
    extends Object
    implements io.atlasmap.spi.AtlasFieldActionService
    • Method Detail

      • init

        public void init()
      • loadFieldActions

        public List<io.atlasmap.spi.ActionProcessor> loadFieldActions()
      • loadFieldActions

        public List<io.atlasmap.spi.ActionProcessor> loadFieldActions​(ClassLoader classLoader)
      • listActionDetails

        public List<io.atlasmap.v2.ActionDetail> listActionDetails()
        Specified by:
        listActionDetails in interface io.atlasmap.spi.AtlasFieldActionService
      • getActionDetailByActionName

        @Deprecated
        protected io.atlasmap.v2.ActionDetail getActionDetailByActionName​(String actionName)
        Deprecated.
      • findActionDetail

        public io.atlasmap.v2.ActionDetail findActionDetail​(io.atlasmap.v2.Action action,
                                                            io.atlasmap.v2.FieldType sourceType)
                                                     throws io.atlasmap.api.AtlasException
        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 interface io.atlasmap.spi.AtlasFieldActionService
        Parameters:
        action - The name of the FieldAction
        sourceType - A hint used to determine which FieldAction to use when multiple FieldActions exist with the same name
        Returns:
        ActionDetail
        Throws:
        io.atlasmap.api.AtlasException
      • findActionProcessor

        public io.atlasmap.spi.ActionProcessor findActionProcessor​(io.atlasmap.v2.Action action,
                                                                   io.atlasmap.v2.FieldType sourceType)
                                                            throws io.atlasmap.api.AtlasException
        Specified by:
        findActionProcessor in interface io.atlasmap.spi.AtlasFieldActionService
        Throws:
        io.atlasmap.api.AtlasException
      • findActionProcessor

        public io.atlasmap.spi.ActionProcessor findActionProcessor​(String name,
                                                                   Object value)
      • buildAndProcessAction

        public io.atlasmap.v2.Field buildAndProcessAction​(io.atlasmap.spi.ActionProcessor actionProcessor,
                                                          Map<String,​Object> actionParameters,
                                                          io.atlasmap.v2.Field field)
      • processActions

        public io.atlasmap.v2.Field processActions​(io.atlasmap.spi.AtlasInternalSession session,
                                                   io.atlasmap.v2.Field field)
                                            throws io.atlasmap.api.AtlasException
        Specified by:
        processActions in interface io.atlasmap.spi.AtlasFieldActionService
        Throws:
        io.atlasmap.api.AtlasException
      • getConversionService

        public io.atlasmap.spi.AtlasConversionService getConversionService()