Class JobSearchResultModelAssembler
java.lang.Object
com.netflix.genie.web.apis.rest.v3.hateoas.assemblers.JobSearchResultModelAssembler
- All Implemented Interfaces:
org.springframework.hateoas.server.RepresentationModelAssembler<JobSearchResult,
org.springframework.hateoas.EntityModel<JobSearchResult>>
public class JobSearchResultModelAssembler
extends Object
implements org.springframework.hateoas.server.RepresentationModelAssembler<JobSearchResult,org.springframework.hateoas.EntityModel<JobSearchResult>>
Assembles Job resources out of job search result DTOs.
- Since:
- 3.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.hateoas.EntityModel<JobSearchResult>
toModel
(JobSearchResult job) 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
-
JobSearchResultModelAssembler
public JobSearchResultModelAssembler()
-
-
Method Details
-
toModel
@Nonnull public org.springframework.hateoas.EntityModel<JobSearchResult> toModel(JobSearchResult job) - Specified by:
toModel
in interfaceorg.springframework.hateoas.server.RepresentationModelAssembler<JobSearchResult,
org.springframework.hateoas.EntityModel<JobSearchResult>>
-