Class ConfigUri.Literal
- java.lang.Object
-
- io.micronaut.coherence.annotation.ConfigUri.Literal
-
- All Implemented Interfaces:
java.lang.annotation.Annotation
- Enclosing class:
- ConfigUri
public static class ConfigUri.Literal extends java.lang.Object implements ConfigUri
An annotation literal for theConfigUriannotation.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.micronaut.coherence.annotation.ConfigUri
ConfigUri.Literal
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<? extends java.lang.annotation.Annotation>annotationType()Method returns the type of the annotation literal.booleanequals(java.lang.Object o)inthashCode()static ConfigUri.Literalof(java.lang.String sURI)Create aConfigUri.Literal.java.lang.Stringvalue()The name used to identify a specific resource.
-
-
-
Method Detail
-
of
public static ConfigUri.Literal of(java.lang.String sURI)
Create aConfigUri.Literal.- Parameters:
sURI- the config resource URI- Returns:
- a
ConfigUri.Literalwith the specified value
-
value
public java.lang.String value()
The name used to identify a specific resource.- Returns:
- the name used to identify a specific resource
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equalsin interfacejava.lang.annotation.Annotation
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacejava.lang.annotation.Annotation
-
annotationType
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
Method returns the type of the annotation literal. The value is resolved lazily during the first call of this method.- Specified by:
annotationTypein interfacejava.lang.annotation.Annotation- Returns:
- annotation type of this literal.
-
-