Package jadex.platform.service.ecarules
Class RuleAddedEvent
- java.lang.Object
-
- jadex.platform.service.ecarules.ARulebaseEvent
-
- jadex.platform.service.ecarules.RuleAddedEvent
-
- All Implemented Interfaces:
IRulebaseEvent
public class RuleAddedEvent extends ARulebaseEvent implements IRulebaseEvent
-
-
Field Summary
Fields Modifier and Type Field Description protected IRule<?>
rule
The rule.-
Fields inherited from class jadex.platform.service.ecarules.ARulebaseEvent
callid, id
-
-
Constructor Summary
Constructors Constructor Description RuleAddedEvent()
Create a new rule added event.RuleAddedEvent(int callid, IRule<?> rule)
Create a new rule added event.RuleAddedEvent(RuleAddedEvent event)
Create a new rule added event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ARulebaseEvent
createCopy()
Copy the object.IRule<?>
getRule()
Get the rule.void
setRule(IRule<?> rule)
Set the rule.-
Methods inherited from class jadex.platform.service.ecarules.ARulebaseEvent
getCallId, getId, setCallId, setFinished, setId
-
-
-
-
Field Detail
-
rule
protected IRule<?> rule
The rule.
-
-
Constructor Detail
-
RuleAddedEvent
public RuleAddedEvent()
Create a new rule added event.
-
RuleAddedEvent
public RuleAddedEvent(int callid, IRule<?> rule)
Create a new rule added event.
-
RuleAddedEvent
public RuleAddedEvent(RuleAddedEvent event)
Create a new rule added event.
-
-
Method Detail
-
getRule
public IRule<?> getRule()
Get the rule. return The rule.
-
setRule
public void setRule(IRule<?> rule)
Set the rule.- Parameters:
rule
- The rule to set.
-
createCopy
public ARulebaseEvent createCopy()
Copy the object.- Overrides:
createCopy
in classARulebaseEvent
-
-