consciouscode.seedling.config
Class NodeConfiguration

java.lang.Object
  extended by consciouscode.seedling.config.NodeConfiguration

public final class NodeConfiguration
extends Object

Safe for use from multiple threads.


Constructor Summary
NodeConfiguration(ConfigResource[] resources)
          Create a new configuration from a specified list of resources.
 
Method Summary
 ConfigResource[] getResources()
          Gets the configuration resources that apply to the node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeConfiguration

public NodeConfiguration(ConfigResource[] resources)
Create a new configuration from a specified list of resources.

Parameters:
resources - must not be null, and none of its elements may be. Must have at least one element.
Method Detail

getResources

public ConfigResource[] getResources()
Gets the configuration resources that apply to the node.

Returns:
the resources, not null, not empty, and with no null elements.


Copyright © 2001–2012 Todd V. Jonker. All Rights Reserved.