@Component public class GeneralConfigurationConversionFunction extends Object implements RestConversionFunction<GeneralConfiguration,RestGeneralConfiguration>
Constructor and Description |
---|
GeneralConfigurationConversionFunction(LinkService linkService) |
Modifier and Type | Method and Description |
---|---|
@NotNull RestGeneralConfiguration |
apply(@NotNull GeneralConfiguration input,
@Nullable Expansion expansion,
@NotNull javax.ws.rs.core.UriInfo uriInfo)
Transforms a domain object to a
AbstractRestModel . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toFunction
@Autowired public GeneralConfigurationConversionFunction(LinkService linkService)
@NotNull public @NotNull RestGeneralConfiguration apply(@NotNull @NotNull GeneralConfiguration input, @Nullable @Nullable Expansion expansion, @NotNull @NotNull javax.ws.rs.core.UriInfo uriInfo)
RestConversionFunction
AbstractRestModel
. The resource will include links.apply
in interface RestConversionFunction<GeneralConfiguration,RestGeneralConfiguration>
input
- The domain object to transformexpansion
- The expansion to use when transforming the objecturiInfo
- URI info from the requestCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences