Interface BpmProcess
-
public interface BpmProcess
A BPM process. Use this to define constants for processes in your test classes.
Example:
class TestExample { private static final BpmProcess PROCUREMENT_PROCESS = BpmProcess.name("ProcurementRequest"); private static final BpmElement REGISTRATION_FORM = PROCUREMENT_PROCESS.elementName("Registration Form"); }
- Since:
- 9.1
- See Also:
BpmElement
- API:
- This is a public API.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description ElementTypeSelector
element()
Selects a process element inside this processBpmElement
elementName(String name)
Selects a process element inside this process with the given element namestatic BpmProcess
id(String id)
Selects a process by the given identifier.static StringSelector<BpmProcess>
name()
Selects a process by the its simple namestatic BpmProcess
name(String name)
Selects a process by the given simple namestatic BpmProcess
path(String path)
Selects a process by the given full qualified name (path)
-
-
-
Method Detail
-
name
static BpmProcess name(String name)
Selects a process by the given simple name- Parameters:
name
- the process simple name- Returns:
- selected process
- See Also:
name()
- API:
- This public API is available in Java.
-
name
static StringSelector<BpmProcess> name()
Selects a process by the its simple name- Returns:
- process name selector to further select the process
- See Also:
name(String)
- API:
- This public API is available in Java.
-
id
static BpmProcess id(String id)
Selects a process by the given identifier. Example of a process identifier:1397B6D6C4B9D4A3
- Parameters:
id
- process identifier.- Returns:
- selected process
- API:
- This public API is available in Java.
-
path
static BpmProcess path(String path)
Selects a process by the given full qualified name (path)- Parameters:
path
- the full qualified process name- Returns:
- selected process
- API:
- This public API is available in Java.
-
element
ElementTypeSelector element()
Selects a process element inside this process- Returns:
- element selector to further select a process element
- API:
- This public API is available in Java.
-
elementName
BpmElement elementName(String name)
Selects a process element inside this process with the given element name- Parameters:
name
- element name- Returns:
- selected process element
- API:
- This public API is available in Java.
-
-