Package net.solarnetwork.node.domain
Class NodeAppConfiguration
java.lang.Object
net.solarnetwork.node.domain.NodeAppConfiguration
Bean for immutable node application configuration.
- Since:
- 1.53
- Version:
- 1.0
- Author:
- matt
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.NodeAppConfiguration(Map<String, String> networkServiceUrls) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionlongGet the creation date.Get the network service URL mappings.
-
Constructor Details
-
NodeAppConfiguration
public NodeAppConfiguration()Default constructor. -
NodeAppConfiguration
Constructor.- Parameters:
networkServiceUrls- the newtork service URLs
-
-
Method Details
-
getCreated
public long getCreated()Get the creation date.- Returns:
- the created date, as milliseconds since the epoch
-
getNetworkServiceUrls
Get the network service URL mappings.- Returns:
- mapping of network service names to associated URLs
-