Class FeatureManagerBase.FeatureDefinitionInfoBase<ARGUMENTS,RESPONSE>
java.lang.Object
io.quarkiverse.mcp.server.runtime.FeatureManagerBase.FeatureDefinitionInfoBase<ARGUMENTS,RESPONSE>
- All Implemented Interfaces:
FeatureManager.FeatureInfo,Comparable<FeatureManager.FeatureInfo>
- Enclosing class:
- FeatureManagerBase<RESULT,
INFO extends FeatureManager.FeatureInfo>
protected abstract static class FeatureManagerBase.FeatureDefinitionInfoBase<ARGUMENTS,RESPONSE>
extends Object
implements FeatureManager.FeatureInfo
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<RESPONSE>call(io.quarkiverse.mcp.server.runtime.ArgumentProviders argumentProviders) protected abstract ARGUMENTScreateArguments(io.quarkiverse.mcp.server.runtime.ArgumentProviders argumentProviders) booleanisMethod()name()It is guaranteed that the name is unique for a specific feature.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkiverse.mcp.server.FeatureManager.FeatureInfo
asJson, compareTo
-
Field Details
-
name
-
description
-
serverName
-
createdAt
-
fun
-
asyncFun
-
runOnVirtualThread
protected final boolean runOnVirtualThread
-
-
Constructor Details
-
FeatureDefinitionInfoBase
-
-
Method Details
-
name
Description copied from interface:FeatureManager.FeatureInfoIt is guaranteed that the name is unique for a specific feature.- Specified by:
namein interfaceFeatureManager.FeatureInfo- Returns:
- the name
-
description
- Specified by:
descriptionin interfaceFeatureManager.FeatureInfo
-
serverName
- Specified by:
serverNamein interfaceFeatureManager.FeatureInfo- Returns:
- the name of the respective server configuration
- See Also:
-
isMethod
public boolean isMethod()- Specified by:
isMethodin interfaceFeatureManager.FeatureInfo- Returns:
trueif backed by a business method of a CDI bean,falseotherwise
-
createdAt
- Specified by:
createdAtin interfaceFeatureManager.FeatureInfo- Returns:
- the timestamp this feature was registered
-
executionModel
-
createArguments
protected abstract ARGUMENTS createArguments(io.quarkiverse.mcp.server.runtime.ArgumentProviders argumentProviders) -
call
public io.smallrye.mutiny.Uni<RESPONSE> call(io.quarkiverse.mcp.server.runtime.ArgumentProviders argumentProviders)
-