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
Modifier and TypeMethodDescriptionTransforms a domain object to aAbstractRestModel
.toFunction
(@NotNull Expansion expansion, @NotNull javax.ws.rs.core.UriInfo uriInfo)
-
Method Details
-
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
-
toFunction
-