Class A2aSkillResult
java.lang.Object
com.xebialabs.xlrelease.a2a.api.views.A2aSkillResult
What a plugin-contributed A2A skill produced: either an immediate text artifact (the A2A task
completes as the method returns), or a release the skill started — typically through
the bridged
TemplateApi/ReleaseApi — whose live state becomes the A2A task from
then on (working, input-required while a gate waits on a human, completed/failed with the
release). Exactly one of the two members is set. Immutable.-
Method Summary
Modifier and TypeMethodDescriptionThe artifact text;nullwhenisReleaseBacked().The backing release id;nullunlessisReleaseBacked().booleanstatic A2aSkillResultLong-running work delegated to a release the skill created and started.static A2aSkillResultAn immediately-complete result: the text becomes the completed task's artifact.
-
Method Details
-
text
An immediately-complete result: the text becomes the completed task's artifact. -
release
Long-running work delegated to a release the skill created and started. -
isReleaseBacked
public boolean isReleaseBacked() -
getArtifactText
The artifact text;nullwhenisReleaseBacked(). -
getReleaseId
The backing release id;nullunlessisReleaseBacked().
-