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