Package io.sundr.adapter.api
Class Adapters
java.lang.Object
io.sundr.adapter.api.Adapters
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T,R, P, M> Method adaptMethod(M input, AdapterContextAware ctx) static <T,R, P, M> Property adaptProperty(P input, AdapterContextAware ctx) static <T,R, P, M> TypeRef adaptReference(R input, AdapterContextAware ctx) static <T,R, P, M> TypeDef adaptType(T input, AdapterContextAware ctx) getAdapterForMethod(Class type, AdapterContextAware ctx) getAdapterForProperty(Class type, AdapterContextAware ctx) getAdapterForReference(Class type, AdapterContextAware ctx) getAdapterForType(Class type, AdapterContextAware ctx) static Adapters.WithContext
-
Constructor Details
-
Adapters
public Adapters()
-
-
Method Details
-
adaptType
-
adaptReference
-
adaptProperty
-
adaptMethod
-
getAdapterForType
public static <T,R, Optional<Adapter<T,P, M> R, getAdapterForTypeP, M>> (Class type, AdapterContextAware ctx) -
getAdapterForReference
public static <T,R, Optional<Adapter<T,P, M> R, getAdapterForReferenceP, M>> (Class type, AdapterContextAware ctx) -
getAdapterForProperty
public static <T,R, Optional<Adapter<T,P, M> R, getAdapterForPropertyP, M>> (Class type, AdapterContextAware ctx) -
getAdapterForMethod
public static <T,R, Optional<Adapter<T,P, M> R, getAdapterForMethodP, M>> (Class type, AdapterContextAware ctx) -
withContext
-