@ProviderType public class ConfigEntry extends java.lang.Object
ConfigEntry
represents one workflow launcher
configuration entryConstructor and Description |
---|
ConfigEntry(int eventType,
java.lang.String glob,
java.lang.String nodetype,
java.util.List<java.lang.String> whereClauses,
java.lang.String workflow,
java.lang.String id,
java.lang.String description,
boolean enabled,
java.util.List<java.lang.String> excludeList,
java.util.List<java.lang.String> runModes,
java.util.List<java.lang.String> features,
java.util.List<java.lang.String> disabledFeatures)
Construct a ConfigEntry with the specified information.
|
ConfigEntry(int eventType,
java.lang.String glob,
java.lang.String nodetype,
java.lang.String whereClause,
java.lang.String workflow,
java.lang.String id,
java.lang.String description,
boolean enabled,
java.util.List<java.lang.String> excludeList,
java.util.List<java.lang.String> runModes)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Get the description for this launcher configuration.
|
java.util.List<java.lang.String> |
getDisabledFeatures()
return a list of features which must be disabled or not found for this launcher configuration to be enabled
|
int |
getEventType()
Return the JCR Event Type that triggers this config.
|
java.util.List<java.lang.String> |
getExcludeList()
Returns a list of exclude conditions.
|
java.util.List<java.lang.String> |
getFeatures()
return a list of features which must be enabled for this launcher configuration to be enabled
|
java.lang.String |
getGlob()
Returns the path pattern that triggers this launcher configuration.
|
java.lang.String |
getId()
Return the ID of this trigger.
|
java.lang.String |
getNodetype()
Get the node type associated with this launcher.
|
java.util.List<java.lang.String> |
getRunModes()
Return the list of runmode associated with this launcher configuration.
|
java.lang.String |
getWhereClause()
Deprecated.
use #getWhereClauses()
|
java.util.List<java.lang.String> |
getWhereClauses()
Return the where clause for this trigger.
|
java.lang.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(java.lang.String description)
Set the description for this launcher configuration.
|
void |
setDisabledFeatures(java.util.List<java.lang.String> disabledFeatures)
sets a list of features which must be disabled for this launcher configuration to be enabled
|
void |
setEnabled(boolean enabled)
Enables or disables this launcher configuration.
|
void |
setEventType(int eventType)
Set the event type to watch.
|
void |
setExcludeList(java.util.List<java.lang.String> excludeList)
Set the list of exclude conditions.
|
void |
setFeatures(java.util.List<java.lang.String> features)
sets a list of features which must be enabled for this launcher configuration to be enabled
|
void |
setGlob(java.lang.String glob)
Set the path pattern to trigger this launcher configuration.
|
void |
setId(java.lang.String id)
Set the Id of this trigger
|
void |
setNodetype(java.lang.String nodetype)
Set the node type associated with this launcher.
|
void |
setRunModes(java.util.List<java.lang.String> runModes)
Set the run moodes associated with this launcher configuration.
|
void |
setWhereClause(java.lang.String whereClause)
Deprecated.
use #setWhereClauses
|
void |
setWhereClauses(java.util.List<java.lang.String> whereClauses)
Set the where clause for this trigger.
|
void |
setWorkflow(java.lang.String workflow)
Set the name of the workflow to trigger.
|
java.lang.String |
toString() |
public ConfigEntry(int eventType, java.lang.String glob, java.lang.String nodetype, java.lang.String whereClause, java.lang.String workflow, java.lang.String id, java.lang.String description, boolean enabled, java.util.List<java.lang.String> excludeList, java.util.List<java.lang.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 ConfigEntry(int eventType, java.lang.String glob, java.lang.String nodetype, java.util.List<java.lang.String> whereClauses, java.lang.String workflow, java.lang.String id, java.lang.String description, boolean enabled, java.util.List<java.lang.String> excludeList, java.util.List<java.lang.String> runModes, java.util.List<java.lang.String> features, java.util.List<java.lang.String> disabledFeatures)
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 watchwhereClauses
- list of node property conditions. All conditions must be TRUE to launch the workflow. A single condition entry can contain || for OR conditionsworkflow
- 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 configfeatures
- features which must be enabled for this launcher to be activedisabledFeatures
- features which must be disabled for this launcher to be activepublic java.lang.String getWorkflow()
public void setWorkflow(java.lang.String workflow)
workflow
- workflow namepublic int getEventType()
public void setEventType(int eventType)
eventType
- event type to listen to.public java.lang.String getGlob()
public void setGlob(java.lang.String glob)
glob
- path pattern.public java.lang.String getNodetype()
public void setNodetype(java.lang.String nodetype)
nodetype
- the node typepublic java.lang.String getWhereClause()
public java.util.List<java.lang.String> getWhereClauses()
public void setWhereClause(java.lang.String whereClause)
whereClause
- conditionpublic void setWhereClauses(java.util.List<java.lang.String> whereClauses)
whereClauses
- conditionspublic java.lang.String getId()
public void setId(java.lang.String id)
id
- trigger id.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- a new description.public int hashCode()
hashCode
in class java.lang.Object
public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- true to enable this configuration, false otherwise.public java.util.List<java.lang.String> getExcludeList()
public void setExcludeList(java.util.List<java.lang.String> excludeList)
excludeList
- new exclude conditions list.public java.util.List<java.lang.String> getRunModes()
public void setRunModes(java.util.List<java.lang.String> runModes)
runModes
- list of runmodes.public java.util.List<java.lang.String> getFeatures()
public java.util.List<java.lang.String> getDisabledFeatures()
public void setFeatures(java.util.List<java.lang.String> features)
features
- list of features for this launcherpublic void setDisabledFeatures(java.util.List<java.lang.String> disabledFeatures)
disabledFeatures
- list of features which must be disabledpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved