io.atlasmap.core.DefaultAtlasFieldActionService.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4
?? ??
??
? ???
? ?? ??
?
??
??
??
???? ?
? ?
? ?
?
%?
%!
?"
%#
?$
?% ?&
?'(
)*+
1?
?,
1-
),
1. //
10 /1
12 /3
14 /5 67 89
1: 8; 8<=
?>?
@A
1B
1CD
EEF
1G
@H
?I
1JKL
PEMN
1,OP
WQR
)ST
%UV
)W
?XYZ
)[
\
)]
?^
?_
`,a
?b
)c Y1 ?d 8e
)f
gh
?ijk
qEl
tm
?n 6op 6q ?rst 6u ?v 6w x
6y
?z{ ?|
}~
}??
???
??
)??
??
??
??
??
?0
??
????
??
?? ??
???
??
??
)?
#??
???? ?? ???
?????
?? ??????
?? ???
??
????
?,
???
1?
1? ?? ??? ??
?? ?t
1?
?b
??
??
? ??
???
???
??
? ?? ?????
??
??
?
???
]?
?? ??
??
1?
???? ??? x?
??
??
???
???
??
??
?? ?? ?? ?? ?? ?? ?? ??
??
???
??
???
??????????
???????? InnerClasses ActionProcessor LOG Lorg/slf4j/Logger; actionProcessors Ljava/util/List; Signature SLjava/util/List; actionProcessorsLock *Ljava/util/concurrent/locks/ReadWriteLock; conversionService (Lio/atlasmap/spi/AtlasConversionService; actionResolver Lio/atlasmap/v2/ActionResolver; listClasses Ljava/util/Set; #Ljava/util/Set;
mapClasses +(Lio/atlasmap/spi/AtlasConversionService;)V Code LineNumberTable LocalVariableTable this 1Lio/atlasmap/core/DefaultAtlasFieldActionService; init ()V javaType C(Ljava/lang/reflect/Type;)Lcom/fasterxml/jackson/databind/JavaType; type Ljava/lang/reflect/Type; (Ljava/lang/ClassLoader;)V classLoader Ljava/lang/ClassLoader; writeLock !Ljava/util/concurrent/locks/Lock;
StackMapTable?j loadFieldActions ()Ljava/util/List; U()Ljava/util/List; )(Ljava/lang/ClassLoader;)Ljava/util/List; fieldActionServiceLoader Ljava/util/ServiceLoader; compat answer LocalVariableTypeTable =Ljava/util/ServiceLoader; =Ljava/util/ServiceLoader; ? l(Ljava/lang/ClassLoader;)Ljava/util/List; createActionProcessor 5(Lio/atlasmap/spi/AtlasFieldAction;Ljava/util/List;)V det ALio/atlasmap/core/DefaultAtlasFieldActionService$ActionProcessor; method Ljava/lang/reflect/Method; atlasFieldAction "Lio/atlasmap/spi/AtlasFieldAction; clazz Ljava/lang/Class; methods [Ljava/lang/reflect/Method; Ljava/lang/Class<*>;L
? x(Lio/atlasmap/spi/AtlasFieldAction;Ljava/util/List;)V createDetailFromFieldActionInfo n(Ljava/lang/Class;Ljava/lang/reflect/Method;)Lio/atlasmap/core/DefaultAtlasFieldActionService$ActionProcessor; actionClazz e Ljava/lang/Exception; "Ljava/lang/ClassNotFoundException;
annotation &Lio/atlasmap/spi/AtlasFieldActionInfo; Lio/atlasmap/v2/ActionDetail; sourceCollection Lio/atlasmap/v2/CollectionType; targetCollection finalActionClazz +Ljava/lang/Class<+Lio/atlasmap/v2/Action;>;(+?K q(Ljava/lang/Class<*>;Ljava/lang/reflect/Method;)Lio/atlasmap/core/DefaultAtlasFieldActionService$ActionProcessor; createDetailFromProcessor sourceClass Ljava/lang/Throwable; &Lio/atlasmap/spi/AtlasActionProcessor; targetClass name Ljava/lang/String; genericParameterTypes [Ljava/lang/reflect/Type; o Ljava/lang/Object; objectR?p toFieldCollectionType 2(Ljava/lang/Class;)Lio/atlasmap/v2/CollectionType; 5(Ljava/lang/Class<*>;)Lio/atlasmap/v2/CollectionType; toFieldType E(Ljava/lang/Class;Ljava/lang/reflect/Type;)Lio/atlasmap/v2/FieldType; t
parameterType H(Ljava/lang/Class<*>;Ljava/lang/reflect/Type;)Lio/atlasmap/v2/FieldType; detectFieldActionParameters 4(Ljava/lang/Class;)Lio/atlasmap/v2/ActionParameters; m methodParam Ljava/lang/reflect/Parameter; actionParam Lio/atlasmap/v2/ActionParameter; params !Lio/atlasmap/v2/ActionParameters;??
Exceptions 7(Ljava/lang/Class<*>;)Lio/atlasmap/v2/ActionParameters; listActionDetails readLock 1()Ljava/util/List; getActionDetailByActionName 1(Ljava/lang/String;)Lio/atlasmap/v2/ActionDetail; actionDetail
actionName
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated; findActionDetail P(Lio/atlasmap/v2/Action;Lio/atlasmap/v2/FieldType;)Lio/atlasmap/v2/ActionDetail; action Lio/atlasmap/v2/Action;
sourceType Lio/atlasmap/v2/FieldType; processor findActionProcessor t(Lio/atlasmap/v2/Action;Lio/atlasmap/v2/FieldType;)Lio/atlasmap/core/DefaultAtlasFieldActionService$ActionProcessor; detail customAction Lio/atlasmap/v2/CustomAction; matches? processActions T(Lio/atlasmap/spi/AtlasInternalSession;Lio/atlasmap/v2/Field;)Lio/atlasmap/v2/Field; index Ljava/lang/Integer; subField Lio/atlasmap/v2/Field; Ljava/util/Optional; values subValue subType i I
tmpSourceList item multiplicity Lio/atlasmap/v2/Multiplicity;
sourceList newField session &Lio/atlasmap/spi/AtlasInternalSession; field actions Ljava/util/ArrayList;
targetType sourceObject
fieldGroup Lio/atlasmap/v2/FieldGroup; tmpSourceObject currentType (Ljava/util/Optional; $Ljava/util/List; Ljava/util/List<*>; .Ljava/util/ArrayList;????V isAssignableFieldType 7(Lio/atlasmap/v2/FieldType;Lio/atlasmap/v2/FieldType;)Z expected actual getConversionService *()Lio/atlasmap/spi/AtlasConversionService; camelize &(Ljava/lang/String;)Ljava/lang/String; parameter c [C lambda$processActions$3 (Ljava/lang/Object;)Z v lambda$listActionDetails$2 `(Lio/atlasmap/core/DefaultAtlasFieldActionService$ActionProcessor;)Lio/atlasmap/v2/ActionDetail; x lambda$loadFieldActions$1 5(Ljava/util/List;Lio/atlasmap/api/AtlasFieldAction;)V "Lio/atlasmap/api/AtlasFieldAction; lambda$loadFieldActions$0 5(Ljava/util/List;Lio/atlasmap/spi/AtlasFieldAction;)V
access$000 [(Lio/atlasmap/core/DefaultAtlasFieldActionService;)Lio/atlasmap/spi/AtlasConversionService; x0
access$100 c(Lio/atlasmap/core/DefaultAtlasFieldActionService;Ljava/lang/Class;)Lio/atlasmap/v2/CollectionType; x1
SourceFile #DefaultAtlasFieldActionService.javaxy$ java/util/ArrayList 1java/util/concurrent/locks/ReentrantReadWriteLock#)&,$$ 36!"#$ io/atlasmap/spi/AtlasFieldAction $% io/atlasmap/api/AtlasFieldAction BootstrapMethods&'()*+,-./
012 Loaded %s Field Actions java/lang/Object3456789: java/lang/StringBuilder Loading FieldAction class: ;<=>?>@ATUB?hU $io/atlasmap/spi/AtlasFieldActionInfo
CD io/atlasmap/v2/ActionDetailE>F:G:m>H:?IJK?ILKMNO^P?QRS?T? io.atlasmap.v2.UV java/lang/ExceptionW5XYZ[\ .Could not get json schema for action=%s msg=%s]>^_`ab2??cd java/lang/ClassNotFoundException 5Error detecting parameters for field action=%s msg=%se2 Loaded FieldAction: f: 1io/atlasmap/core/DefaultAtlasFieldActionService$1g $io/atlasmap/spi/AtlasActionProcessorh4 FInvalid @AtlasActionProcessor method. Expected at least 1 parameter: ;i io/atlasmap/v2/Actionjklm GInvalid @AtlasActionProcessor method. 1st parameter does not subclass : nopqr{|stu io.atlasmap.actionsv?wxO?y?z4{|}~ java/lang/Throwable 3Error creating object instance for action=%s msg=%s 1io/atlasmap/core/DefaultAtlasFieldActionService$2??2?^ java/util/Collection?^????^?^???4? #java/lang/reflect/ParameterizedType?x?? java/lang/Class?? set?? io/atlasmap/v2/ActionParameters?? io/atlasmap/v2/ActionParameter?4??????
???K?2???? value???4?? >Failed to populate possible enum parameter values, ignoring...9_?4???????????????? java/util/List?4???2????? io/atlasmap/v2/CustomAction?>?> io/atlasmap/api/AtlasException IThe class name and method name must be specified for custom FieldAction: : ?io/atlasmap/core/DefaultAtlasFieldActionService$ActionProcessor?>??? io/atlasmap/v2/FieldType??????I???I?2??? io/atlasmap/v2/FieldGroup?4 io/atlasmap/v2/Field???4????????????2??> :Couldn't find metadata for a FieldAction '%s', ignoring...?>?>?????????????? [Ljava/lang/Object;???' 7FieldAction created more values than expected, ignoring io/atlasmap/v2/SimpleField???????????????????????? java/lang/String?AB /io/atlasmap/core/DefaultAtlasFieldActionService??? java/util/HashSet java.util.List java.util.ArrayList java.util.LinkedList java.util.Vector java.util.Stack java.util.AbstractList java.util.AbstractSequentialList?
java.util.Map java.util.HashMap java.util.TreeMap java.util.Hashtable java.util.IdentityHashMap java.util.LinkedHashMap java.util.SortedMap java.util.WeakHashMap java.util.Properties &java.util.concurrent.ConcurrentHashMap "java.util.concurrent.ConcurrentMap 'io/atlasmap/spi/AtlasFieldActionService 1io/atlasmap/core/DefaultAtlasFieldActionService$3 java/lang/ClassLoader java/util/concurrent/locks/Lock java/util/ServiceLoader java/lang/reflect/Method io/atlasmap/v2/CollectionType [Ljava/lang/reflect/Parameter; java/lang/reflect/Parameter java/util/Iterator $io/atlasmap/spi/AtlasInternalSession java/lang/Integer io/atlasmap/v2/Multiplicity getClass ()Ljava/lang/Class; getClassLoader ()Ljava/lang/ClassLoader; /com/fasterxml/jackson/databind/type/TypeFactory defaultInstance 3()Lcom/fasterxml/jackson/databind/type/TypeFactory;
constructType (java/util/concurrent/locks/ReadWriteLock #()Ljava/util/concurrent/locks/Lock; lock clear io/atlasmap/v2/ActionResolver getInstance 8(Ljava/lang/ClassLoader;)Lio/atlasmap/v2/ActionResolver; addAll (Ljava/util/Collection;)Z unlock load C(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
? (Ljava/lang/Object;)V
? %(Lio/atlasmap/spi/AtlasFieldAction;)V accept `(Lio/atlasmap/core/DefaultAtlasFieldActionService;Ljava/util/List;)Ljava/util/function/Consumer; forEach (Ljava/util/function/Consumer;)V
? %(Lio/atlasmap/api/AtlasFieldAction;)V org/slf4j/Logger isDebugEnabled ()Z size ()I valueOf (I)Ljava/lang/Integer; format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; debug (Ljava/lang/String;)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; getCanonicalName ()Ljava/lang/String; toString
getMethods ()[Ljava/lang/reflect/Method; add
getAnnotation 4(Ljava/lang/Class;)Ljava/lang/annotation/Annotation; getName setClassName setMethod setName ()Lio/atlasmap/v2/FieldType;
setSourceType (Lio/atlasmap/v2/FieldType;)V
setTargetType sourceCollectionType !()Lio/atlasmap/v2/CollectionType; NONE MANY_TO_ONE setMultiplicity (Lio/atlasmap/v2/Multiplicity;)V ONE_TO_MANY
ONE_TO_ONE forName %(Ljava/lang/String;)Ljava/lang/Class; java/lang/Boolean (Z)Ljava/lang/Boolean; setCustom (Ljava/lang/Boolean;)V setActionSchema (Ljava/lang/Class;)V
getMessage error *(Ljava/lang/String;Ljava/lang/Throwable;)V isCustom ()Ljava/lang/Boolean; booleanValue
setParameters $(Lio/atlasmap/v2/ActionParameters;)V isTraceEnabled trace ?(Lio/atlasmap/core/DefaultAtlasFieldActionService;Lio/atlasmap/v2/ActionDetail;Ljava/lang/Class;Ljava/lang/reflect/Method;Ljava/lang/Class;)V getParameterCount -(Ljava/lang/Object;)Ljava/lang/StringBuilder; getParameterTypes ()[Ljava/lang/Class; isAssignableFrom (Ljava/lang/Class;)Z
getReturnType toId %(Ljava/lang/Class;)Ljava/lang/String; getGenericReturnType ()Ljava/lang/reflect/Type;
getPackage ()Ljava/lang/Package; java/lang/Package equals getGenericParameterTypes ()[Ljava/lang/reflect/Type; ZERO_TO_ONE getModifiers java/lang/reflect/Modifier isStatic (I)Z newInstance ()Ljava/lang/Object; ?(Lio/atlasmap/core/DefaultAtlasFieldActionService;Lio/atlasmap/v2/ActionDetail;Ljava/lang/Class;Ljava/lang/reflect/Method;Ljava/lang/Object;)V isArray ARRAY ALL
java/util/Set contains LIST MAP ($SwitchMap$io$atlasmap$v2$CollectionType [I ordinal getComponentType getActualTypeArguments .io/atlasmap/core/DefaultAtlasConversionService 2()Lio/atlasmap/core/DefaultAtlasConversionService; fieldTypeFromClass -(Ljava/lang/Class;)Lio/atlasmap/v2/FieldType;
startsWith (Ljava/lang/String;)Z
getParameters ()[Ljava/lang/reflect/Parameter; length substring (I)Ljava/lang/String; getType &io/atlasmap/spi/AtlasConversionService setFieldType isEnum STRING getEnumConstants ()[Ljava/lang/Object; getDeclaredMethod @(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; getValues invoke 9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; getParameter stream ()Ljava/util/stream/Stream; &(Ljava/lang/Object;)Ljava/lang/Object;
? apply ()Ljava/util/function/Function; java/util/stream/Stream map 8(Ljava/util/function/Function;)Ljava/util/stream/Stream; java/util/stream/Collectors toList ()Ljava/util/stream/Collector; collect 0(Ljava/util/stream/Collector;)Ljava/lang/Object; iterator ()Ljava/util/Iterator; hasNext next getActionDetail ()Lio/atlasmap/v2/ActionDetail; getClassName
getMethodName getMethod getActionClass get (I)Ljava/lang/Object; ANY java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List;
getSourceType
getActions ()Ljava/util/ArrayList; getFieldType isEmpty COMPLEX getValue getField getIndex ()Ljava/lang/Integer; intValue '(ILjava/lang/Object;)Ljava/lang/Object;
? test ()Ljava/util/function/Predicate; filter 9(Ljava/util/function/Predicate;)Ljava/util/stream/Stream; findFirst ()Ljava/util/Optional; java/util/Optional isPresent getDocId getDisplayName getPath io/atlasmap/v2/AuditStatus WARN Lio/atlasmap/v2/AuditStatus; io/atlasmap/core/AtlasUtil addAudit ?(Lio/atlasmap/api/AtlasSession;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/atlasmap/v2/AuditStatus;Ljava/lang/String;)V getMultiplicity ()Lio/atlasmap/v2/Multiplicity; convertType Z(Ljava/lang/Object;Lio/atlasmap/v2/FieldType;Lio/atlasmap/v2/FieldType;)Ljava/lang/Object; process =(Lio/atlasmap/v2/Action;Ljava/lang/Object;)Ljava/lang/Object; toArray setValue io/atlasmap/v2/AtlasModelFactory copyField 0(Lio/atlasmap/v2/Field;Lio/atlasmap/v2/Field;Z)V createFieldGroupFrom 3(Lio/atlasmap/v2/Field;)Lio/atlasmap/v2/FieldGroup; ANY_DATE DATE TIME DATE_TIME DATE_TIME_TZ DATE_TZ TIME_TZ toCharArray ()[C java/lang/Character toLowerCase (C)C ([C)V org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; (Ljava/util/Collection;)V ???????? "java/lang/invoke/LambdaMetafactory metafactory Lookup ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles ! ?
v **? *? Y? ? *? Y? ? *? *?
*+? ? = 8 9 : ; $ > ) ? *!" * #$ : **? ? ?
?
D E !" %&