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