Interface Resource.Stoppable

Enclosing class:
Resource

public static interface Resource.Stoppable
Defines the requirements for a Resource to be Stoppable. All Resources that physically move should be Stoppable.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    stop(Optional<com.google.protobuf.Struct> extra)
    Stop the Resource.
  • Method Details

    • stop

      void stop(Optional<com.google.protobuf.Struct> extra)
      Stop the Resource. This function must be idempotent.
      Parameters:
      extra - optional parameters that may be needed to safely stop the Resource