public class SiteStateEvent extends Event
Modifier and Type | Field and Description |
---|---|
static String |
SITE_STATE |
Constructor and Description |
---|
SiteStateEvent(String siteName,
Site.SiteState state,
String nodeId) |
Modifier and Type | Method and Description |
---|---|
void |
handleSiteState(Environment environment) |
void |
perform(Environment environment,
Site site)
Performs the event
|
String |
toString() |
getNodeId, getSiteName, isAsync, setNodeId
public static final String SITE_STATE
public SiteStateEvent(String siteName, Site.SiteState state, String nodeId)
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 errorpublic void handleSiteState(Environment environment)
Copyright © 2011–2023 aiticon GmbH. All rights reserved.