org.springframework.cloud.dataflow.server.controller.support

## Class ControllerUtils

- java.lang.Object
- - org.springframework.cloud.dataflow.server.controller.support.ControllerUtils

-     public class ControllerUtils
      extends Object

  Author:
    Gunnar Hillert

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ControllerUtils()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static DeploymentStateResource` | `mapState(org.springframework.cloud.deployer.spi.app.DeploymentState state)` Maps the `DeploymentState` from the Deployer SPI to a `DeploymentStateResource` which is used by the REST API.

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

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

- - ### Constructor Detail

    - #### ControllerUtils

          public ControllerUtils()

  - ### Method Detail

    - #### mapState

          public static DeploymentStateResource mapState(org.springframework.cloud.deployer.spi.app.DeploymentState state)

      Maps the `DeploymentState` from the Deployer SPI to a `DeploymentStateResource` which is used by the REST API.
      Parameters:
        `state` - Must not be null
      Returns:
        a DeploymentStateResource, never null

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