Interface WorkflowLauncher
-
public interface WorkflowLauncher
TheWorkflowLauncher
starts workflow depending on:- jcr event
- path (regular expression)
- nodetype
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addConfigEntry(ConfigEntry entry)
Add new launcher configuration entryvoid
editConfigEntry(String id, ConfigEntry configEntry)
Edit existing config entryIterator<ConfigEntry>
getConfigEntries()
Get list of all config entriesvoid
removeConfigEntry(String id)
Remove launcher config entry
-
-
-
Method Detail
-
addConfigEntry
void addConfigEntry(ConfigEntry entry) throws WorkflowException
Add new launcher configuration entry- Parameters:
entry
- launcher config entry- Throws:
WorkflowException
- thrown in case config entry could not be added
-
removeConfigEntry
void removeConfigEntry(String id) throws WorkflowException
Remove launcher config entry- Parameters:
id
- config entry id- Throws:
WorkflowException
- thrown in case config entry could not be removed
-
getConfigEntries
Iterator<ConfigEntry> getConfigEntries() throws WorkflowException
Get list of all config entries- Returns:
- list of all config entries
- Throws:
WorkflowException
- thrown in case config entries could not be retrieved
-
editConfigEntry
void editConfigEntry(String id, ConfigEntry configEntry) throws WorkflowException
Edit existing config entry- Parameters:
id
- id if existing config entryconfigEntry
- modified config entry- Throws:
WorkflowException
- thrown in case config entry could not be edited
-
-