def METHOD_NAME(self) -> None:
    self.add_handle(state.ENSEMBLE_STATE_UNKNOWN, self._handle_unknown)
    self.add_handle(state.ENSEMBLE_STATE_STARTED, self._handle_started)
    self.add_handle(state.ENSEMBLE_STATE_FAILED, self._handle_failed)
    self.add_handle(state.ENSEMBLE_STATE_STOPPED, self._handle_stopped)
    self.add_handle(state.ENSEMBLE_STATE_CANCELLED, self._handle_canceled)