Interface RestConversionFunction<F,T extends AbstractRestModel>
-
- All Known Implementing Classes:
AuditLogConversionFunction
,BuildConcurrencyConversionFunction
,ElasticConfigurationConversionFunction
,GeneralConfigurationConversionFunction
,IMServerConfigurationConversionFunction
,JobConversionFunction
,MailConfigurationConversionFunction
,PlanConversionFunction
,QuarantineConfigConversionFunction
,RemoteAgentConfigurationConversionFunction
,RestArtifactHandlerConversionFunction
,SharedCredentialConversionFunction
,StageConversionFunction
,TaskConversionFunction
,TrustedKeyConversionFunction
public interface RestConversionFunction<F,T extends AbstractRestModel>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description T
apply(F input, @NotNull Expansion expansion, @NotNull javax.ws.rs.core.UriInfo uriInfo)
Transforms a domain object to aAbstractRestModel
.default Function<F,T>
toFunction(@NotNull Expansion expansion, @NotNull javax.ws.rs.core.UriInfo uriInfo)
-
-
-
Method Detail
-
apply
@NotNull T apply(@NotNull F input, @NotNull @NotNull Expansion expansion, @NotNull @NotNull javax.ws.rs.core.UriInfo uriInfo)
Transforms a domain object to aAbstractRestModel
. The resource will include links.- Parameters:
input
- The domain object to transformexpansion
- The expansion to use when transforming the objecturiInfo
- URI info from the request- Returns:
- a RestResource
-
-