@Component public class BuildConcurrencyConversionFunction extends Object implements RestConversionFunction<ConcurrentBuildConfig,RestBuildConcurrency>
ConcurrentBuildConfig
to RestBuildConcurrency
Constructor and Description |
---|
BuildConcurrencyConversionFunction(LinkService linkService) |
Modifier and Type | Method and Description |
---|---|
RestBuildConcurrency |
apply(ConcurrentBuildConfig input,
Expansion expansion,
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 BuildConcurrencyConversionFunction(LinkService linkService)
@NotNull public RestBuildConcurrency apply(@NotNull ConcurrentBuildConfig input, @NotNull Expansion expansion, @NotNull javax.ws.rs.core.UriInfo uriInfo)
RestConversionFunction
AbstractRestModel
. The resource will include links.apply
in interface RestConversionFunction<ConcurrentBuildConfig,RestBuildConcurrency>
input
- The domain object to transformexpansion
- The expansion to use when transforming the objecturiInfo
- URI info from the requestCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.