public class RuleSet extends com.streamscape.sdo.AbstractNamedObject implements DescribedNamedObject
Title: Service Event Fabric Core
Description: Defines a set of Rule objects that are used for Task Conditional Execution.
Copyright: Copyright (c) 2022
Company: StreamScape Technologies
DEFAULT_SERIAL_VERSION_ID
Modifier and Type | Method and Description |
---|---|
Rule |
addRule(java.lang.String ruleName,
java.lang.String description,
java.lang.String condition,
java.lang.String execTaskName) |
RuleSet |
clone()
Do NOT use this method.
|
boolean |
existsRule(java.lang.String ruleName) |
boolean |
existsRuleByExecTask(java.util.UUID taskOID) |
java.lang.String |
getDescription()
Returns a description of the object.
|
Rule |
getRule(java.lang.String ruleName) |
Rule |
getRuleByExecTask(java.util.UUID taskOID) |
java.util.List |
getRules() |
Task |
getTask()
Returns the Task that this rule set is assigned to.
|
boolean |
hasRules() |
java.util.List |
listRules() |
void |
removeRule(java.lang.String ruleName) |
void |
setDescription(java.lang.String description)
Sets the specified description of the object.
|
void |
setName(java.lang.String name)
Sets the specified object name.
|
compareTo, equals, getName, toString
getSerialVersionUID
getClass, hashCode, notify, notifyAll, wait, wait, wait
getName
public Task getTask()
This method returns null
if the object is deserialized from any format (for example, on the remote side).
public void setName(java.lang.String name) throws SchedulerException
DescribedNamedObject
setName
in interface DescribedNamedObject
name
- the name to be set.SchedulerException
- if the name has wrong format.public java.lang.String getDescription()
DescribedNamedObject
getDescription
in interface DescribedNamedObject
public void setDescription(java.lang.String description)
DescribedNamedObject
setDescription
in interface DescribedNamedObject
description
- the value to be set.public Rule addRule(java.lang.String ruleName, java.lang.String description, java.lang.String condition, java.lang.String execTaskName) throws SchedulerException
SchedulerException
public void removeRule(java.lang.String ruleName)
public Rule getRule(java.lang.String ruleName)
public Rule getRuleByExecTask(java.util.UUID taskOID)
public boolean existsRule(java.lang.String ruleName)
public boolean existsRuleByExecTask(java.util.UUID taskOID)
public boolean hasRules()
public java.util.List getRules()
public java.util.List listRules()
public RuleSet clone()
clone
in interface CloneableObject
clone
in class CloneableDataObject
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.