OperationResult (Apache Geode 2.0.2)
Description: declaration: package: org.apache.geode.management.runtime, interface: OperationResult

Package 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

  Modifier and Type
  Method
  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 Details

  - ### 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