public class StopSiteEvent extends Event
Constructor and Description |
---|
StopSiteEvent(String siteName) |
StopSiteEvent(String siteName,
String targetNode) |
Modifier and Type | Method and Description |
---|---|
protected InitializerService |
getInitializerService(Environment environment) |
protected org.springframework.context.ApplicationContext |
getPlatformContext(Environment environment) |
protected boolean |
isTargetNode(Environment environment) |
protected void |
logIgnoreMessage(org.slf4j.Logger logger) |
void |
perform(Environment environment,
Site site)
Performs the event
|
getNodeId, getSiteName, setNodeId, toString
public StopSiteEvent(String siteName)
public void perform(Environment environment, Site site) throws InvalidConfigurationException
Event
perform
in class Event
environment
- then Environment
to usesite
- the Site
where the event occurredInvalidConfigurationException
- if there's a configuration errorprotected boolean isTargetNode(Environment environment)
protected void logIgnoreMessage(org.slf4j.Logger logger)
protected InitializerService getInitializerService(Environment environment)
protected org.springframework.context.ApplicationContext getPlatformContext(Environment environment)
Copyright © 2011–2021 aiticon GmbH. All rights reserved.