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