public class ConfigEntry extends Object
ConfigEntry represents one workflow launcher
configuration entry| Constructor and Description |
|---|
ConfigEntry(int eventType,
String glob,
String nodetype,
String whereClause,
String workflow,
String id,
String description,
boolean enabled,
List<String> excludeList,
List<String> runModes)
Construct a ConfigEntry with the specified information.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Get the description for this launcher configuration.
|
int |
getEventType()
Return the JCR Event Type that triggers this config.
|
List<String> |
getExcludeList()
Returns a list of exclude conditions.
|
String |
getGlob()
Returns the path pattern that triggers this launcher configuration.
|
String |
getId()
Return the ID of this trigger.
|
String |
getNodetype()
Get the node type associated with this launcher.
|
List<String> |
getRunModes()
Return the list of runmode associated with this launcher configuration.
|
String |
getWhereClause()
Return the where clause for this trigger.
|
String |
getWorkflow()
Return the name of the workflow to trigger.
|
int |
hashCode() |
boolean |
isEnabled()
Returns if this launcher configuration is enabled or not.
|
void |
setDescription(String description)
Set the description for this launcher configuration.
|
void |
setEnabled(boolean enabled)
Enables or disables this launcher configuration.
|
void |
setEventType(int eventType)
Set the event type to watch.
|
void |
setExcludeList(List<String> excludeList)
Set the list of exclude conditions.
|
void |
setGlob(String glob)
Set the path pattern to trigger this launcher configuration.
|
void |
setId(String id)
Set the Id of this trigger
|
void |
setNodetype(String nodetype)
Set the node type associated with this launcher.
|
void |
setRunModes(List<String> runModes)
Set the run moodes associated with this launcher configuration.
|
void |
setWhereClause(String whereClause)
Set the where clause for this trigger.
|
void |
setWorkflow(String workflow)
Set the name of the workflow to trigger.
|
String |
toString() |
public ConfigEntry(int eventType,
String glob,
String nodetype,
String whereClause,
String workflow,
String id,
String description,
boolean enabled,
List<String> excludeList,
List<String> runModes)
eventType - one of javax.jcr.observation.Event#NODE_ADDEDglob - the path pattern, can be regexp, where the event should be watchingnodetype - type of node to watchwhereClause - node property conditions to watchworkflow - the name of the workflow to triggerid - the id for this configdescription - description for this configenabled - true if the enabled, false for disabledexcludeList - conditions to exclude from the eventrunModes - runmodes for this configpublic String getWorkflow()
public void setWorkflow(String workflow)
workflow - workflow namepublic int getEventType()
public void setEventType(int eventType)
eventType - event type to listen to.public String getGlob()
public void setGlob(String glob)
glob - path pattern.public String getNodetype()
public void setNodetype(String nodetype)
nodetype - the node typepublic String getWhereClause()
public void setWhereClause(String whereClause)
whereClause - conditionpublic String getId()
public void setId(String id)
id - trigger id.public String getDescription()
public void setDescription(String description)
description - a new description.public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled - true to enable this configuration, false otherwise.public List<String> getExcludeList()
public void setExcludeList(List<String> excludeList)
excludeList - new exclude conditions list.public List<String> getRunModes()
public void setRunModes(List<String> runModes)
runModes - list of runmodes."Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"