Class Backlog.Literal
- java.lang.Object
-
- io.micronaut.coherence.annotation.Backlog.Literal
-
- All Implemented Interfaces:
java.lang.annotation.Annotation
- Enclosing class:
- Backlog
public static class Backlog.Literal extends java.lang.Object implements Backlog
An annotation literal for theBacklog
annotation.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.micronaut.coherence.annotation.Backlog
Backlog.Literal, Backlog.Type
-
-
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.boolean
equals(java.lang.Object o)
int
hashCode()
static Backlog.Literal
of(Backlog.Type type)
Create aBacklog.Literal
.Backlog.Type
value()
The backlog event type.
-
-
-
Method Detail
-
of
public static Backlog.Literal of(Backlog.Type type)
Create aBacklog.Literal
.- Parameters:
type
- the backlog event type- Returns:
- a
Backlog.Literal
with the specified value
-
value
public Backlog.Type value()
The backlog event type.- Returns:
- the backlog event type
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interfacejava.lang.annotation.Annotation
-
hashCode
public int hashCode()
- Specified by:
hashCode
in 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:
annotationType
in interfacejava.lang.annotation.Annotation
- Returns:
- annotation type of this literal.
-
-