Class OfferSetResponse.OfferSetResponseBuilder

java.lang.Object
org.ivoa.dm.executionbroker.OfferSetResponse.OfferSetResponseBuilder
Enclosing class:
OfferSetResponse

public static class OfferSetResponse.OfferSetResponseBuilder extends Object
A builder class for OfferSetResponse, mainly for use in the functional builder pattern.
  • Field Details

    • result

      public String result
      A flag to indicate whether the request can be handled by this service. If service is able to handle the request, then the `result` will be `YES` and the `offers` block should contain one or more offers. If service is not able to handle the request, the `result` will be `NO` and the `messages` block should contain one or more reasons explaining why.
    • description

      public String description
      A human readable description.
    • offers

      .
    • kind

      public String kind
      The component type identifier.
    • meta

      public ComponentMetadata meta
      The component metadata.
  • Constructor Details

    • OfferSetResponseBuilder

      public OfferSetResponseBuilder()
  • Method Details

    • create

      public OfferSetResponse create()
      create a OfferSetResponse from this builder.
      Returns:
      an object initialized from the builder.