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 java.lang.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
Constructors Constructor Description JobSearchResultModelAssembler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.hateoas.EntityModel<JobSearchResult>
toModel(JobSearchResult job)
-
-
-
Method Detail
-
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>>
-
-