Class DevServer
- java.lang.Object
-
- com.google.cloud.tools.appengine.operations.DevServer
-
public class DevServer extends Object
Classic Java SDK based implementation of the Dev App Server.
-
-
Constructor Summary
Constructors Constructor Description DevServer(CloudSdk sdk, DevAppServerRunner runner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(RunConfiguration config)
Starts the local development server, synchronously or asynchronously.void
stop(StopConfiguration configuration)
Stops the local development server.
-
-
-
Constructor Detail
-
DevServer
public DevServer(CloudSdk sdk, DevAppServerRunner runner)
-
-
Method Detail
-
run
public void run(RunConfiguration config) throws AppEngineException
Starts the local development server, synchronously or asynchronously.- Throws:
AppEngineException
- I/O error in the Java dev serverCloudSdkNotFoundException
- when the Cloud SDK is not installed where expectedCloudSdkOutOfDateException
- when the installed Cloud SDK is too old
-
stop
public void stop(StopConfiguration configuration) throws AppEngineException
Stops the local development server.- Throws:
AppEngineException
-
-