public void getActions(Context ctx) {
    ctx.json(
        OkResponse.of(
            Arrays.stream(OptimizingStatus.values())
                .map(OptimizingStatus::displayValue)
                .collect(Collectors.toList())));
  }
The controller that handles optimizer requests.
amoro-ams/src/main/java/org/apache/amoro/server/dashboard/controller/OptimizerGroupController.java