Class JobMetadataModelAssembler

  • All Implemented Interfaces:
    org.springframework.hateoas.server.RepresentationModelAssembler<JobMetadata,​org.springframework.hateoas.EntityModel<JobMetadata>>

    public class JobMetadataModelAssembler
    extends java.lang.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.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 Detail

      • JobMetadataModelAssembler

        public JobMetadataModelAssembler()
    • Method Detail

      • toModel

        @Nonnull
        public org.springframework.hateoas.EntityModel<JobMetadata> toModel​(JobMetadata jobMetadata)
        Specified by:
        toModel in interface org.springframework.hateoas.server.RepresentationModelAssembler<JobMetadata,​org.springframework.hateoas.EntityModel<JobMetadata>>