org.springframework.cloud.dataflow.rest.resource

## Class RootResource

- 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 and Description
    `RootResource(int apiRevision)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Integer` | `getApiRevision()`
    `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, of, of, removeLinks, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### RootResource

          public RootResource(int apiRevision)

  - ### Method Detail

    - #### getApiRevision

          public Integer getApiRevision()

    - #### setApiRevision

          public void setApiRevision(int apiRevision)

Copyright © 2021 Pivotal Software, Inc.. All rights reserved.