Module com.aoapps.appcluster.core
Package com.aoapps.appcluster
Interface ResourceNodeConfiguration<R extends Resource<R,RN>,RN extends ResourceNode<R,RN>>
-
- All Known Subinterfaces:
CronResourceNodeConfiguration<R,RN>
- All Known Implementing Classes:
CronResourceNodePropertiesConfiguration,ResourceNodePropertiesConfiguration
public interface ResourceNodeConfiguration<R extends Resource<R,RN>,RN extends ResourceNode<R,RN>>The configuration for one resource node.- Author:
- AO Industries, Inc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanequals(Object o)StringgetNodeId()Gets the unique ID of the node this configuration represents.Set<? extends Name>getNodeRecords()StringgetResourceId()Gets the unique ID of the resource this configuration represents.inthashCode()RNnewResourceNode(Node node)Creates a new resource node from this configuration.StringtoString()
-
-
-
Method Detail
-
getResourceId
String getResourceId()
Gets the unique ID of the resource this configuration represents.
-
getNodeId
String getNodeId()
Gets the unique ID of the node this configuration represents.
-
getNodeRecords
Set<? extends Name> getNodeRecords()
- See Also:
ResourceNode.getNodeRecords()
-
newResourceNode
RN newResourceNode(Node node) throws AppClusterConfigurationException
Creates a new resource node from this configuration.- Throws:
AppClusterConfigurationException
-
-