Class ClusterModelAssembler
java.lang.Object
com.netflix.genie.web.apis.rest.v3.hateoas.assemblers.ClusterModelAssembler
- All Implemented Interfaces:
org.springframework.hateoas.server.RepresentationModelAssembler<com.netflix.genie.common.dto.Cluster,org.springframework.hateoas.EntityModel<com.netflix.genie.common.dto.Cluster>>
public class ClusterModelAssembler
extends Object
implements org.springframework.hateoas.server.RepresentationModelAssembler<com.netflix.genie.common.dto.Cluster,org.springframework.hateoas.EntityModel<com.netflix.genie.common.dto.Cluster>>
Assembles Cluster resources out of clusters.
- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.hateoas.EntityModel<com.netflix.genie.common.dto.Cluster>toModel(com.netflix.genie.common.dto.Cluster cluster) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.hateoas.server.RepresentationModelAssembler
toCollectionModel
-
Constructor Details
-
ClusterModelAssembler
public ClusterModelAssembler()
-
-
Method Details
-
toModel
@Nonnull public org.springframework.hateoas.EntityModel<com.netflix.genie.common.dto.Cluster> toModel(com.netflix.genie.common.dto.Cluster cluster) - Specified by:
toModelin interfaceorg.springframework.hateoas.server.RepresentationModelAssembler<com.netflix.genie.common.dto.Cluster,org.springframework.hateoas.EntityModel<com.netflix.genie.common.dto.Cluster>>
-