Class ResourceCapability
java.lang.Object
org.apache.juneau.bean.mcp.v20260728.ResourceCapability
Server capability flags for resources.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWhether the server will emit list-changed notifications for resources.Whether the server supports resource subscriptions.setListChanged(Boolean value) Sets the list-changed flag.setSubscribe(Boolean value) Sets the subscribe flag.
-
Constructor Details
-
ResourceCapability
public ResourceCapability()
-
-
Method Details
-
getListChanged
Whether the server will emit list-changed notifications for resources.- Returns:
- The flag, or
nullif not set.
-
setListChanged
Sets the list-changed flag.- Parameters:
value- The new value. Can benull to unset the property.- Returns:
- This object (for method chaining).
-
getSubscribe
Whether the server supports resource subscriptions.- Returns:
- The flag, or
nullif not set.
-
setSubscribe
Sets the subscribe flag.- Parameters:
value- The new value. Can benull to unset the property.- Returns:
- This object (for method chaining).
-