public class Rule extends com.streamscape.sdo.AbstractNamedObject implements DescribedNamedObject, SelectorValueSource
Title: Service Event Fabric Core
Description: Defines a Rule that is used for Task Conditional Execution.
Copyright: Copyright (c) 2022
Company: StreamScape Technologies
DEFAULT_SERIAL_VERSION_ID
Modifier and Type | Method and Description |
---|---|
Rule |
clone()
Do NOT use this method.
|
java.lang.String |
getCondition() |
java.lang.String |
getDescription()
Returns a description of the object.
|
java.lang.String |
getExecTaskName()
Returns a name of the Task that will be run if the Condition is met.
|
java.util.UUID |
getExecTaskOID()
Returns a unique identifier of the Task that will be run if the Condition is met.
|
RuleSet |
getRuleSet()
Returns the Rule Set that this rule belongs to.
|
java.lang.Object |
getValue(VariableSelectorExpression expression) |
void |
setCondition(java.lang.String condition) |
void |
setDescription(java.lang.String description)
Sets the specified description of the object.
|
void |
setExecTask(java.lang.String taskName) |
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 RuleSet getRuleSet()
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 java.util.UUID getExecTaskOID()
public java.lang.String getExecTaskName()
This method MUST NOT be used if the task is deserialized from any format (for example, on the remote side).
Use getExecTaskOID()
instead.
public void setExecTask(java.lang.String taskName) throws SchedulerException
SchedulerException
public java.lang.String getCondition()
public void setCondition(java.lang.String condition) throws SchedulerException
SchedulerException
public java.lang.Object getValue(VariableSelectorExpression expression) throws SelectorEvaluationException
getValue
in interface SelectorValueSource
SelectorEvaluationException
public Rule clone()
clone
in interface CloneableObject
clone
in class CloneableDataObject
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.