Class A2aCallback

java.lang.Object
com.xebialabs.xlrelease.a2a.api.views.A2aCallback

public final class A2aCallback extends Object
The push-notification callback the host offers a remote agent with an outbound message: the URL to POST task status updates to, and the token that proves the notification belongs to the task the URL names.

The callback is a wake signal only: the host never trusts a notification's payload — a valid callback merely resumes the waiting Release task, which then re-reads the remote task's state authoritatively over the governed channel. That is what makes the callback endpoint safe to expose without platform authentication: the worst a forged-but-valid-token call can do is trigger one idempotent extra poll. Immutable.

  • Constructor Details

    • A2aCallback

      public A2aCallback(String url, String token)
  • Method Details

    • getUrl

      public String getUrl()
    • getToken

      public String getToken()