org.springframework.cloud.dataflow.rest.client

## Class RuntimeTemplate

- java.lang.Object
- - org.springframework.cloud.dataflow.rest.client.RuntimeTemplate

- All Implemented Interfaces:
    RuntimeOperations

      public class RuntimeTemplate
      extends Object
      implements RuntimeOperations

  Implementation for `RuntimeOperations`.
  Author:
    Eric Bottard, Mark Fisher, Christian Tzolov

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.springframework.hateoas.PagedModel<AppStatusResource>` | `status()`
    `AppStatusResource` | `status(String deploymentId)`
    `org.springframework.hateoas.PagedModel<StreamStatusResource>` | `streamStatus(String... streamNames)`

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### status

          public org.springframework.hateoas.PagedModel<AppStatusResource> status()

      Specified by:
        `status` in interface `RuntimeOperations`
      Returns:
        the runtime information about all deployed apps.

    - #### status

          public AppStatusResource status(String deploymentId)

      Specified by:
        `status` in interface `RuntimeOperations`
      Parameters:
        `deploymentId` - the deployment id
      Returns:
        the runtime information about a single app deployment.

    - #### streamStatus

          public org.springframework.hateoas.PagedModel<StreamStatusResource> streamStatus(String... streamNames)

      Specified by:
        `streamStatus` in interface `RuntimeOperations`
      Parameters:
        `streamNames` - deployed stream names
      Returns:
        the runtime information about the deployed streams their apps and instances.

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