Package io.sundr.adapter.api
Interface AdapterFactory<T,R,P,M>
public interface AdapterFactory<T,R,P,M>
-
Method Summary
Modifier and TypeMethodDescriptioncreate(AdapterContext ctx) Create an instance ofAdapterfor the givenAdapterContext.The type of method adapter this factory supports.The type of property adapter this factory supports.The type of reference adapter this factory supports.The type of type adapter this factory supports.
-
Method Details
-
getTypeAdapterType
The type of type adapter this factory supports.- Returns:
- the type
-
getReferenceAdapterType
The type of reference adapter this factory supports.- Returns:
- the type
-
getMethodAdapterType
The type of method adapter this factory supports.- Returns:
- the type
-
getPropertyAdapterType
The type of property adapter this factory supports.- Returns:
- the type
-
create
Create an instance ofAdapterfor the givenAdapterContext.- Parameters:
ctx- TheAdapterContext- Returns:
- the
Adapter
-