OperationResult (Apache Geode 1.15.4)

org.apache.geode.management.runtime

## Interface OperationResult

- All Superinterfaces:
    JsonSerializable, Serializable
  All Known Subinterfaces:
    RebalanceResult, RestoreRedundancyResults

      @Experimental
      public interface OperationResult
      extends JsonSerializable, Serializable

  Describes the result of a starting or checking the status of a `ClusterManagementOperation`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getStatusMessage()` Returns details about what caused the operation to fail or succeed.
    `boolean` | `getSuccess()` Returns true if the operation was successful; false if it failed.

- - ### Method Detail

    - #### getSuccess

          boolean getSuccess()

      Returns true if the operation was successful; false if it failed.
      Returns:
        true if the operation was successful; false if it failed

    - #### getStatusMessage

          String getStatusMessage()

      Returns details about what caused the operation to fail or succeed. If the operation failed then a description of what was wrong will be in this status message. If the operation was successful then the status message may contain additional information.
      Returns:
        a message with information about the success or failure of the operation