Class ApplicationModelAssembler
java.lang.Object
com.netflix.genie.web.apis.rest.v3.hateoas.assemblers.ApplicationModelAssembler
- All Implemented Interfaces:
org.springframework.hateoas.server.RepresentationModelAssembler<Application,
org.springframework.hateoas.EntityModel<Application>>
public class ApplicationModelAssembler
extends Object
implements org.springframework.hateoas.server.RepresentationModelAssembler<Application,org.springframework.hateoas.EntityModel<Application>>
Assembles Application resources out of applications.
- Since:
- 3.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.hateoas.EntityModel<Application>
toModel
(Application application) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.hateoas.server.RepresentationModelAssembler
toCollectionModel
-
Constructor Details
-
ApplicationModelAssembler
public ApplicationModelAssembler()
-
-
Method Details
-
toModel
@Nonnull public org.springframework.hateoas.EntityModel<Application> toModel(Application application) - Specified by:
toModel
in interfaceorg.springframework.hateoas.server.RepresentationModelAssembler<Application,
org.springframework.hateoas.EntityModel<Application>>
-