Class GcubeService

java.lang.Object
org.gcube.common.calls.jaxrs.GcubeService

public class GcubeService extends Object
Represents a gCube JAX-RS service with its metadata and call configuration.
Author:
Fabio Simeoni
  • Constructor Details

    • GcubeService

      public GcubeService(QName name, String path)
      Creates a new gCube service instance.
      Parameters:
      name - the service QName
      path - the service path
  • Method Details

    • service

      public static GcubeServiceBuilderDSL.NameClause service()
      Starts the bulding process for a GcubeService.
      Returns:
      the service
    • path

      public String path()
      Returns the service path.
      Returns:
      the service path
    • name

      public QName name()
      Returns the service QName.
      Returns:
      the service QName
    • call

      public org.gcube.common.calls.Call call()
      Returns the call configuration for this service.
      Returns:
      the call configuration