private static class PartitionValidator.ResourceCollisions extends java.lang.Object implements java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.util.List<PartitionValidator.ResourceDefinition>>>
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,java.util.List<PartitionValidator.ResourceDefinition>> |
nameToDefMap |
Modifier | Constructor and Description |
---|---|
private |
ResourceCollisions() |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<java.util.Map.Entry<java.lang.String,java.util.List<PartitionValidator.ResourceDefinition>>> |
iterator()
Iterates over the collisions - that is, where multiple definitions
for the same resource name appeared.
|
private static java.lang.String |
prettyResourceType(ConfigurationMBean resource) |
private void |
registerResource(ConfigurationMBean owningBean,
ConfigurationMBean resource)
Registers resource definition.
|
private final java.util.Map<java.lang.String,java.util.List<PartitionValidator.ResourceDefinition>> nameToDefMap
private void registerResource(ConfigurationMBean owningBean, ConfigurationMBean resource)
owningBean
- the resource group or domain owning the resourceresource
- one of the resources owned by the ownerprivate static java.lang.String prettyResourceType(ConfigurationMBean resource)
public java.util.Iterator<java.util.Map.Entry<java.lang.String,java.util.List<PartitionValidator.ResourceDefinition>>> iterator()
iterator
in interface java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.util.List<PartitionValidator.ResourceDefinition>>>