Package org.mcpjava.server.content
Interface Annotations
public interface Annotations
Annotations for content and resources to provide additional information
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder for resource annotations -
Method Summary
Modifier and TypeMethodDescriptionaudience()The intended audience for the data or objectstatic Annotations.Builderbuilder()Creates a new builder forAnnotationsWhen the data or object was last modifiedpriority()How important the data is.
-
Method Details
-
audience
The intended audience for the data or object- Returns:
- the roles which make up the audience
-
priority
OptionalDouble priority()How important the data is.1.0indicates the greatest importance,0.0indicates the least importance- Returns:
- the priority, between
1.0and0.0
-
lastModified
When the data or object was last modified- Returns:
- the last modified timestamp
-
builder
Creates a new builder forAnnotations- Returns:
- the new builder instance
-