Class LocalModulesService

java.lang.Object
com.google.appengine.tools.development.AbstractLocalRpcService
com.google.appengine.api.modules.dev.LocalModulesService
All Implemented Interfaces:
LocalRpcService

@AutoService(LocalRpcService.class) public class LocalModulesService extends AbstractLocalRpcService
Java binding for the local ModulesService.
  • Field Details

  • Constructor Details

    • LocalModulesService

      public LocalModulesService()
  • Method Details

    • getDefaultDeadline

      public Double getDefaultDeadline(boolean isOfflineRequest)
      Description copied from interface: LocalRpcService
      Return the number of seconds that should be used as a deadline for each API call if no other deadline is requested by the user. This method may return null if the service has no opinion about the deadline, in which case a global deadline will be used instead.
      Specified by:
      getDefaultDeadline in interface LocalRpcService
      Overrides:
      getDefaultDeadline in class AbstractLocalRpcService
    • getMaximumDeadline

      public Double getMaximumDeadline(boolean isOfflineRequest)
      Description copied from interface: LocalRpcService
      Return the maximum number of seconds that is allowed as a deadline for each API call. The user cannot request a deadline higher than this value. This method may return null if the service has no opinion about the maximum deadline, in which case a global maximum deadline will be used instead.
      Specified by:
      getMaximumDeadline in interface LocalRpcService
      Overrides:
      getMaximumDeadline in class AbstractLocalRpcService
    • init

      public void init(LocalServiceContext context, Map<String,String> properties)
      Description copied from interface: LocalRpcService
      Initializes the service with a set of configuration properties. Must be called before a service is started.
      Specified by:
      init in interface LocalRpcService
      Overrides:
      init in class AbstractLocalRpcService
      Parameters:
      context - A context object for the application
      properties - A read-only Map of properties.
    • getPackage

      public String getPackage()
      Description copied from interface: LocalRpcService
      Returns the package for the service, for example, "datastore_v3".
      Returns:
      a not null package name.
    • getModules

      public com.google.appengine.api.modules.ModulesServicePb.GetModulesResponse getModules(LocalRpcService.Status status, com.google.appengine.api.modules.ModulesServicePb.GetModulesRequest request)
    • getVersions

      public com.google.appengine.api.modules.ModulesServicePb.GetVersionsResponse getVersions(LocalRpcService.Status status, com.google.appengine.api.modules.ModulesServicePb.GetVersionsRequest request)
    • getDefaultVersion

      public com.google.appengine.api.modules.ModulesServicePb.GetDefaultVersionResponse getDefaultVersion(LocalRpcService.Status status, com.google.appengine.api.modules.ModulesServicePb.GetDefaultVersionRequest request)
    • getNumInstances

      public com.google.appengine.api.modules.ModulesServicePb.GetNumInstancesResponse getNumInstances(LocalRpcService.Status status, com.google.appengine.api.modules.ModulesServicePb.GetNumInstancesRequest request)
    • setNumInstances

      public com.google.appengine.api.modules.ModulesServicePb.SetNumInstancesResponse setNumInstances(LocalRpcService.Status status, com.google.appengine.api.modules.ModulesServicePb.SetNumInstancesRequest request)
    • startModule

      public com.google.appengine.api.modules.ModulesServicePb.StartModuleResponse startModule(LocalRpcService.Status status, com.google.appengine.api.modules.ModulesServicePb.StartModuleRequest request)
    • stopModule

      public com.google.appengine.api.modules.ModulesServicePb.StopModuleResponse stopModule(LocalRpcService.Status status, com.google.appengine.api.modules.ModulesServicePb.StopModuleRequest request)
    • getHostname

      public com.google.appengine.api.modules.ModulesServicePb.GetHostnameResponse getHostname(LocalRpcService.Status status, com.google.appengine.api.modules.ModulesServicePb.GetHostnameRequest request)
    • setModulesController

      public void setModulesController(ModulesController modulesController)
    • getServerHostname

      public String getServerHostname()