public final class ConfigResource
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ConfigResource.Type
Type of resource.
|
Constructor and Description |
---|
ConfigResource(ConfigResource.Type type,
java.lang.String name)
Create an instance of this class with the provided parameters.
|
public ConfigResource(ConfigResource.Type type, java.lang.String name)
type
- a non-null resource typename
- a non-null resource namepublic ConfigResource.Type type()
public java.lang.String name()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object