java.lang.Object
org.springframework.hateoas.RepresentationModel<RootResource>
org.springframework.cloud.dataflow.rest.resource.RootResource

public class RootResource extends org.springframework.hateoas.RepresentationModel<RootResource>
Describes the other available resource endpoints, as well as provides information about the server itself, such as API revision number.
Author:
Eric Bottard
  • Constructor Summary

    Constructors
    Constructor
    Description
    RootResource(int apiRevision)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    setApiRevision(int apiRevision)
     

    Methods inherited from class org.springframework.hateoas.RepresentationModel

    add, add, add, addAllIf, addIf, equals, getLink, getLink, getLinks, getLinks, getLinks, getRequiredLink, getRequiredLink, hashCode, hasLink, hasLink, hasLinks, mapLink, mapLinkIf, of, of, removeLinks, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • RootResource

      public RootResource(int apiRevision)
  • Method Details

    • getApiRevision

      public Integer getApiRevision()
    • setApiRevision

      public void setApiRevision(int apiRevision)