Interface GcubeServiceBuilderDSL.StubClause

All Known Implementing Classes:
GcubeServiceBuilder
Enclosing interface:
GcubeServiceBuilderDSL

public static interface GcubeServiceBuilderDSL.StubClause
The clause that sets the stub interface of the target service.
Author:
Fabio Simeoni
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> GcubeService<T>
    Sets the stub interface of the target service.
  • Method Details

    • andInterface

      <T> GcubeService<T> andInterface(Class<T> type)
      Sets the stub interface of the target service.
      Type Parameters:
      T - the service interface type
      Parameters:
      type - the interface
      Returns:
      the GcubeService that described the target service.