Package org.gcube.common.calls.jaxrs
Class GcubeServiceBuilder
- java.lang.Object
-
- org.gcube.common.calls.jaxrs.GcubeServiceBuilder
-
- All Implemented Interfaces:
GcubeServiceBuilderDSL.NameClause,GcubeServiceBuilderDSL.StubClause
public class GcubeServiceBuilder extends Object implements GcubeServiceBuilderDSL.NameClause, GcubeServiceBuilderDSL.StubClause
BuildsGCoreServiceinstances.- Author:
- Fabio Simeoni
-
-
Constructor Summary
Constructors Constructor Description GcubeServiceBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GcubeServiceandPath(String path)GcubeServiceuseRootPath()Sets the stub interface of the target service.GcubeServiceBuilderDSL.StubClausewithName(QName name)Sets the qualified name of the target service.
-
-
-
Method Detail
-
withName
public GcubeServiceBuilderDSL.StubClause withName(QName name)
Description copied from interface:GcubeServiceBuilderDSL.NameClauseSets the qualified name of the target service.- Specified by:
withNamein interfaceGcubeServiceBuilderDSL.NameClause- Parameters:
name- the qualified name of the target service- Returns:
- the next clause
-
andPath
public GcubeService andPath(String path)
- Specified by:
andPathin interfaceGcubeServiceBuilderDSL.StubClause
-
useRootPath
public GcubeService useRootPath()
Description copied from interface:GcubeServiceBuilderDSL.StubClauseSets the stub interface of the target service.- Specified by:
useRootPathin interfaceGcubeServiceBuilderDSL.StubClause- Returns:
- the
GCoreServicethat described the target service.
-
-