Package net.solarnetwork.node
Class Constants
java.lang.Object
net.solarnetwork.node.Constants
SolarNode constants.
- Version:
- 1.3
- Author:
- matt
-
Field Summary
Fields -
Method Summary
-
Field Details
-
SYSTEM_PROP_NODE_HOME
The system property for the node's home directory.- See Also:
-
EVENT_TOPIC_CONFIGURATION_CHANGED
An event topic to post when a significant change has occurred to the system's configuration. An example of a listener interested in such an event would be an automatic backup service.- Since:
- 1.1
- See Also:
-
SETTING_PID
A service property key for a setting PID.- Since:
- 1.3
- See Also:
-
-
Method Details
-
solarNodeHome
Get the configured SolarNode home directory.This returns the
SYSTEM_PROP_NODE_HOMEsystem property value if available, or else /home/solar.- Returns:
- the home directory, never null
- Since:
- 1.2
-