Class WorkflowParams
java.lang.Object
com.broadleafcommerce.orchestration.client.WorkflowParams
Utility for understanding parameter map key names for calls to
SimpleWorkflow.start(Map)
.
This can be used by callers to start, as well as SimpleActivity
instances wishing to
retrieve parameters in a predictable way.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
WorkflowParams
public WorkflowParams()
-
-
Method Details
-
getKey
Get a parameter key name based on a POJO class and field name. This is useful when identifying field values are passed in workflow context (e.g. primary key of an entity)- Parameters:
clazz
- The POJO classfieldName
- The name of the field on the POJO class- Returns:
- A predictable key name based on the class (simple name) and field names
-