Modifier and Type | Method and Description |
---|---|
Activation<EventAtom> |
RuleInstance.createActivation(EventAtom atom) |
Activation<?> |
RuleEngine.getNextActivation() |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.Table<ActivationState,EventAtom,Activation<EventAtom>> |
RuleInstance.getActivations() |
com.google.common.collect.Multimap<ActivationState,Activation<?>> |
RuleEngine.getActivations() |
com.google.common.collect.Multimap<ActivationState,Activation<?>> |
Agenda.getActivations() |
java.util.Collection<Activation<EventAtom>> |
RuleInstance.getActivations(ActivationState state) |
java.util.Collection<Activation<?>> |
Agenda.getActivations(ActivationState state)
Returns the activations that are in the given state
|
java.util.Set<Activation<?>> |
RuleEngine.getActivations(IncQueryActivationStateEnum state) |
<EventAtom> |
RuleEngine.getActivations(RuleSpecification<EventAtom> specification) |
<EventAtom> |
RuleEngine.getActivations(RuleSpecification<EventAtom> specification,
ActivationState state) |
<EventAtom> |
RuleEngine.getActivations(RuleSpecification<EventAtom> specification,
EventFilter<? super EventAtom> filter) |
<EventAtom> |
RuleEngine.getActivations(RuleSpecification<EventAtom> specification,
EventFilter<? super EventAtom> filter,
ActivationState state) |
java.util.Collection<Activation<EventAtom>> |
RuleInstance.getAllActivations() |
java.util.Collection<Activation<?>> |
Agenda.getAllActivations() |
java.util.Set<Activation<?>> |
RuleEngine.getConflictingActivations() |
Modifier and Type | Method and Description |
---|---|
ActivationState |
RuleInstance.activationStateTransition(Activation<EventAtom> activation,
EventType event)
Performs the state transition on the given activation in response to the specified event
using the life-cycle defined in the rule specification.
|
void |
RuleInstance.fire(Activation<EventAtom> activation,
Context context)
Fires the given activation using the supplied context.
|
Modifier and Type | Method and Description |
---|---|
Activation<?> |
ScopedConflictSet.getNextActivation() |
Activation<?> |
ConflictSet.getNextActivation() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Activation<?>> |
ScopedConflictSet.getConflictingActivations() |
java.util.Set<Activation<?>> |
ConflictSet.getConflictingActivations() |
java.util.Set<Activation<?>> |
ScopedConflictSet.getNextActivations() |
java.util.Set<Activation<?>> |
ConflictSet.getNextActivations() |
Modifier and Type | Method and Description |
---|---|
void |
ConflictSetUpdater.activationChanged(Activation<?> activation,
ActivationState oldState,
EventType event) |
void |
ConflictSetUpdater.activationCreated(Activation<?> activation,
ActivationState inactiveState) |
void |
ConflictSetUpdater.activationRemoved(Activation<?> activation,
ActivationState oldState) |
boolean |
ChangeableConflictSet.addActivation(Activation<?> activation)
This method is called by the Agenda when an activation changes state and becomes or is still enabled.
|
boolean |
ChangeableConflictSet.removeActivation(Activation<?> activation)
This method is called by the Agenda when an activation changes state and becomes or is still disabled.
|
Modifier and Type | Method and Description |
---|---|
void |
IActivationNotificationListener.activationChanged(Activation<?> activation,
ActivationState oldState,
EventType event)
This method is called by
ActivationNotificationProvider to relay changes to listeners. |
void |
IActivationNotificationListener.activationCreated(Activation<?> activation,
ActivationState inactiveState) |
void |
IActivationNotificationListener.activationRemoved(Activation<?> activation,
ActivationState oldState) |
void |
ActivationNotificationProvider.notifyActivationChanged(Activation<?> activation,
ActivationState oldState,
EventType event)
Notifies listeners about an activation change.
|
void |
ActivationNotificationProvider.notifyActivationCreated(Activation<?> activation,
ActivationState inactiveState)
Notifies listeners about an activation creation.
|
void |
ActivationNotificationProvider.notifyActivationRemoved(Activation<?> activation,
ActivationState oldState)
Notifies listeners about an activation removal.
|
Modifier and Type | Method and Description |
---|---|
static ComparingConflictResolver |
ConflictResolvers.createComparingResolver(java.util.Comparator<Activation<?>> comparator) |
Modifier and Type | Method and Description |
---|---|
Activation<? extends EventAtom> |
CommandExecutingJob.JobExecutionHelper.getActivation() |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.Table<Activation<?>,RecordingJob<?>,org.eclipse.emf.common.command.Command> |
RecordingJob.RecordingJobContextData.getTable() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.edit.domain.EditingDomain |
EventAtomEditingDomainProvider.findEditingDomain(Activation<? extends EventAtom> activation,
Context context) |
Constructor and Description |
---|
JobExecutionHelper(org.eclipse.emf.edit.domain.EditingDomain domain,
Activation<? extends EventAtom> activation,
Context context) |
Modifier and Type | Method and Description |
---|---|
Activation<?> |
LifoConflictResolver.LifoConflictSet.getNextActivation() |
Activation<?> |
FixedPriorityConflictSet.getNextActivation()
Returns one of the activations of one of the rules with the lowest priority.
|
Activation<?> |
ComparingConflictResolver.ComparingConflictSet.getNextActivation() |
Activation<?> |
ArbitraryOrderConflictResolver.ArbitraryConflictSet.getNextActivation() |
Activation<?> |
CallbackConflictResolver.ActivationChoiceStrategy.selectNextActivation(java.util.Collection<Activation<?>> activations) |
Modifier and Type | Method and Description |
---|---|
java.util.Comparator<Activation<?>> |
ComparingConflictResolver.getComparator() |
java.util.Set<Activation<?>> |
LifoConflictResolver.LifoConflictSet.getConflictingActivations() |
java.util.Set<Activation<?>> |
FixedPriorityConflictSet.getConflictingActivations()
Returns all conflicting activations.
|
java.util.Set<Activation<?>> |
ComparingConflictResolver.ComparingConflictSet.getConflictingActivations() |
java.util.Set<Activation<?>> |
LifoConflictResolver.LifoConflictSet.getNextActivations() |
java.util.Set<Activation<?>> |
FixedPriorityConflictSet.getNextActivations()
Returns the set of activations of rules with the lowest priority.
|
java.util.Set<Activation<?>> |
ComparingConflictResolver.ComparingConflictSet.getNextActivations() |
Modifier and Type | Method and Description |
---|---|
boolean |
LifoConflictResolver.LifoConflictSet.addActivation(Activation<?> activation) |
boolean |
FixedPriorityConflictSet.addActivation(Activation<?> activation) |
boolean |
ComparingConflictResolver.ComparingConflictSet.addActivation(Activation<?> activation) |
boolean |
LifoConflictResolver.LifoConflictSet.removeActivation(Activation<?> activation) |
boolean |
InvertedDisappearancePriorityConflictResolver.InvertedDisappearancePriorityConflictSet.removeActivation(Activation<?> activation) |
boolean |
FixedPriorityConflictSet.removeActivation(Activation<?> activation) |
boolean |
ComparingConflictResolver.ComparingConflictSet.removeActivation(Activation<?> activation) |
Modifier and Type | Method and Description |
---|---|
Activation<?> |
CallbackConflictResolver.ActivationChoiceStrategy.selectNextActivation(java.util.Collection<Activation<?>> activations) |
Constructor and Description |
---|
ComparingConflictResolver(java.util.Comparator<Activation<?>> comparator) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Activation<?>> |
RandomAccessConflictSetImpl.getConflictingActivations() |
java.util.Set<Activation<?>> |
HashSetBasedConflictSetImpl.getConflictingActivations() |
java.util.Set<Activation<?>> |
RandomAccessConflictSetImpl.getNextActivations() |
java.util.Set<Activation<?>> |
HashSetBasedConflictSetImpl.getNextActivations() |
Modifier and Type | Method and Description |
---|---|
boolean |
RandomAccessConflictSetImpl.addActivation(Activation<?> activation) |
boolean |
HashSetBasedConflictSetImpl.addActivation(Activation<?> activation) |
boolean |
RandomAccessConflictSetImpl.removeActivation(Activation<?> activation) |
boolean |
HashSetBasedConflictSetImpl.removeActivation(Activation<?> activation) |