Enum Class ExecutionConnectorType

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

public enum ExecutionConnectorType extends Enum<ExecutionConnectorType>
Defines the valid configuration attributes for the ExecutionConnector process. This enumeration contains parameters for controlling retry behavior and timing in connector execution scenarios.
Since:
1.0
Author:
Bonitasoft
  • Enum Constant Details

    • MAX_RETRIES

      public static final ExecutionConnectorType MAX_RETRIES
      The maximum number of retry attempts allowed for the connector execution.
    • WAIT_TIME_SECONDS

      public static final ExecutionConnectorType WAIT_TIME_SECONDS
      The waiting time in seconds before each retry attempt.
  • Method Details

    • values

      public static ExecutionConnectorType[] 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 ExecutionConnectorType 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()
      Returns the unique string key associated with this attribute.
      Returns:
      The attribute key (e.g., "maxRetries").
    • getDescription

      public String getDescription()
      Returns the description of this configuration attribute.
      Returns:
      The 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 ExecutionConnector configuration attributes as a read-only Map where the key is the technical key and the value is the description.
      Returns:
      A map containing all attribute 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 attribute keys.