All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.camunda.common.auth.Product Maven / Gradle / Ivy

There is a newer version: 8.5.15
Show newest version
package io.camunda.common.auth;

import java.util.Arrays;

/** Enum for different C8 Products */
public enum Product {
  ZEEBE(true),
  OPERATE(true),
  TASKLIST(true),
  CONSOLE(false),
  OPTIMIZE(true),
  WEB_MODELER(false),
  IDENTITY(true);

  private final boolean covered;

  Product(boolean covered) {
    this.covered = covered;
  }

  public static Product[] coveredProducts() {
    return Arrays.stream(Product.values())
        .filter(Product::covered)
        .toList()
        .toArray(new Product[0]);
  }

  public boolean covered() {
    return covered;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy