public class KieModuleSwappingEvent extends AbstractEvent implements ClusterAwareEvent
| Constructor and Description |
|---|
KieModuleSwappingEvent(java.lang.String rulesModuleName,
java.lang.String deployedReleaseIdVersion) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canPublish(PublishEventContext publishEventContext)
Decide whether this event should be broadcasted/received.
|
java.lang.String |
getDeployedReleaseIdVersion() |
java.lang.String |
getRulesModuleName() |
getScope, getSource, isFromCluster, setFromCluster, setScope, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublishpublic KieModuleSwappingEvent(java.lang.String rulesModuleName,
java.lang.String deployedReleaseIdVersion)
public boolean canPublish(PublishEventContext publishEventContext)
ClusterAwareEventcanPublish in interface ClusterAwareEventpublishEventContext - context object containing all necessary information about target and source node Id's as well as target
node groups.true if event should be published from source cluster node to target cluster nodePublishEventContext}public java.lang.String getRulesModuleName()
public java.lang.String getDeployedReleaseIdVersion()
Copyright © 2018 SAP SE. All Rights Reserved.