@Override public void onEvent(RuntimeAbnormalStoppedEvent event) { RuntimeIdentity identity = event.getIdentity(); String workspaceId = identity.getWorkspaceId(); identity.getEnvName(), identity.getOwnerId(), event.getReason()); STOPPED, previousStatus, "Workspace is stopped. Reason: " + event.getReason()); setAbnormalStopAttributes(workspaceId, event.getReason());