@Component public class SharedCredentialConversionFunction extends Object implements RestConversionFunction<CredentialsData,RestSharedCredential>
CredentialsData to RestSharedCredential| Constructor and Description |
|---|
SharedCredentialConversionFunction(LinkService linkService,
CredentialsManager credentialsManager,
ProjectManager projectManager) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull RestSharedCredential |
apply(@NotNull CredentialsData input,
@NotNull 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, waittoFunction@Autowired public SharedCredentialConversionFunction(LinkService linkService, CredentialsManager credentialsManager, ProjectManager projectManager)
@NotNull public @NotNull RestSharedCredential apply(@NotNull @NotNull CredentialsData input, @NotNull @NotNull Expansion expansion, @NotNull @NotNull javax.ws.rs.core.UriInfo uriInfo)
RestConversionFunctionAbstractRestModel. The resource will include links.apply in interface RestConversionFunction<CredentialsData,RestSharedCredential>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.