Enum Class ProcessNameType

java.lang.Object
java.lang.Enum<ProcessNameType>
com.bonitasoft.processbuilder.enums.ProcessNameType
All Implemented Interfaces:
Serializable, Comparable<ProcessNameType>, Constable

public enum ProcessNameType extends Enum<ProcessNameType>
Defines the names of the configurable process definitions.
Since:
1.0
Author:
Bonitasoft
  • Enum Constant Details

    • PROCESS_BUILDER_INITIALIZATION

      public static final ProcessNameType PROCESS_BUILDER_INITIALIZATION
      Process definition for Process Builder initialization.
    • OBJECTS_MANAGEMENT

      public static final ProcessNameType OBJECTS_MANAGEMENT
      Process definition for Objects Management.
    • OBJECTS_MANAGEMENT_LIST

      public static final ProcessNameType OBJECTS_MANAGEMENT_LIST
      Process definition for Objects Management List operations.
    • EXECUTION_CONNECTOR

      public static final ProcessNameType EXECUTION_CONNECTOR
      Process definition for Execution Connector.
    • FORM

      public static final ProcessNameType FORM
      Process definition for Form configuration.
    • NOTIFICATIONS

      public static final ProcessNameType NOTIFICATIONS
      Process definition for Notifications configuration.
    • PROCESS_EXECUTION

      public static final ProcessNameType PROCESS_EXECUTION
      Process definition for Process Execution.
    • REDIRECTIONS

      public static final ProcessNameType REDIRECTIONS
      Process definition for Redirections configuration.
    • REST_API_CONNECTOR

      public static final ProcessNameType REST_API_CONNECTOR
      Process definition for REST API Connector.
    • REST_APIS

      public static final ProcessNameType REST_APIS
      Process definition for REST APIs configuration and execution.
    • SMTP_CONNECTOR

      public static final ProcessNameType SMTP_CONNECTOR
      Process definition for SMTP Connector.
    • PROCESS

      public static final ProcessNameType PROCESS
      Process definition for generic Process operations.
    • SERVICE_CONNECTOR_ACTION_RUNNER

      @Deprecated(since="0.0.0.92", forRemoval=true) public static final ProcessNameType SERVICE_CONNECTOR_ACTION_RUNNER
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use COMMON_ACTION_EXECUTOR instead. This process is replaced by CommonActionExecutor.
      Process definition for Service Connector Action Runner.
    • COMMON_ACTION_EXECUTOR

      public static final ProcessNameType COMMON_ACTION_EXECUTOR
      Process definition for CommonActionExecutor. Unified process that handles ALL action types except Form and Redirection. Replaces both Notifications and ServiceConnectorActionRunner by consolidating them into a single process that iterates over PBActionContent and delegates to ExecutionConnector (which acts as a dynamic router).
    • MASTER_PROCESS_LIFECYCLE_MANAGER

      public static final ProcessNameType MASTER_PROCESS_LIFECYCLE_MANAGER
      Process definition for the lifecycle manager that periodically restarts the master orchestrator. Ensures continuous availability by opening a new instance, closing the previous one, and cleaning up completed instances to avoid infinite-running processes.
    • MASTER_PROCESS_EXECUTION_ORCHESTRATOR

      public static final ProcessNameType MASTER_PROCESS_EXECUTION_ORCHESTRATOR
      Process definition for the master execution orchestrator. Executes master processes without spawning a new instance per execution by using a persistent waiting message pattern that reactivates after each parallel branch execution.
    • ASYNCHRONOUS_TIMER_SYNCHRONIZATION_JOB

      public static final ProcessNameType ASYNCHRONOUS_TIMER_SYNCHRONIZATION_JOB
      Process definition for the asynchronous timer synchronization job. Updates timer event triggers for process instances whose cancellation delay has changed, identified by their pbProcessId.
    • TECHNICAL_CASE_CANCELLATION

      public static final ProcessNameType TECHNICAL_CASE_CANCELLATION
      Process definition for technical case cancellation. Cancels both the BPA process instance and the corresponding PBProcess entry in the BDM.
    • TEST_REST_API_CONFIGURATION

      public static final ProcessNameType TEST_REST_API_CONFIGURATION
      Process definition for testing REST API configurations. Uploads test entries to PBConfiguration related to connector integrations such as REST APIs.
  • Method Details

    • values

      public static ProcessNameType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ProcessNameType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getKey

      public String getKey()
      Gets the human-readable, capitalized key of the process.
      Returns:
      The process key.
    • getDescription

      public String getDescription()
      Gets a brief description of the process purpose.
      Returns:
      The process description.
    • isValid

      public static boolean isValid(String input)
      Checks if a given string corresponds to a valid enum constant, ignoring case and leading/trailing spaces.
      Parameters:
      input - The string to validate.
      Returns:
      true if the string is a valid enum constant, false otherwise.
    • getAllData

      public static Map<String,String> getAllData()
      Retrieves all process instance states as a read-only Map where the key is the technical key and the value is the description.
      Returns:
      A map containing all process state data (Key -> Description).
    • getAllKeysList

      public static List<String> getAllKeysList()
      Retrieves all technical keys as a read-only List of Strings.
      Returns:
      A list containing all technical keys.