Class RootModelAssembler

java.lang.Object
com.netflix.genie.web.apis.rest.v3.hateoas.assemblers.RootModelAssembler
All Implemented Interfaces:
org.springframework.hateoas.server.RepresentationModelAssembler<Map<String,String>,org.springframework.hateoas.EntityModel<Map<String,String>>>

public class RootModelAssembler extends Object implements org.springframework.hateoas.server.RepresentationModelAssembler<Map<String,String>,org.springframework.hateoas.EntityModel<Map<String,String>>>
Assembles root resource from a JsonNode.
Since:
3.0.0
  • Constructor Details

    • RootModelAssembler

      public RootModelAssembler()
  • Method Details

    • toModel

      @Nonnull public org.springframework.hateoas.EntityModel<Map<String,String>> toModel(Map<String,String> metadata)
      Specified by:
      toModel in interface org.springframework.hateoas.server.RepresentationModelAssembler<Map<String,String>,org.springframework.hateoas.EntityModel<Map<String,String>>>