JavaScript is disabled on your browser.
java.lang.Object
com.netflix.genie.web.apis.rest.v3.hateoas.assemblers.CommandModelAssembler
All Implemented Interfaces:
org.springframework.hateoas.server.RepresentationModelAssembler<Command ,org.springframework.hateoas.EntityModel<Command >>
public class CommandModelAssembler
extends Object
implements org.springframework.hateoas.server.RepresentationModelAssembler<Command ,org.springframework.hateoas.EntityModel<Command >>
Assembles Command resources out of commands.
Since:
3.0.0
Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Concrete Methods
org.springframework.hateoas.EntityModel<Command >
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
CommandModelAssembler
public CommandModelAssembler ()
Method Details
toModel
@Nonnull
public org.springframework.hateoas.EntityModel<Command > toModel (Command command)
Specified by:
toModel
in interface org.springframework.hateoas.server.RepresentationModelAssembler<Command ,org.springframework.hateoas.EntityModel<Command >>