Class RunConfiguration
- java.lang.Object
-
- com.google.cloud.tools.appengine.configuration.RunConfiguration
-
public class RunConfiguration extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RunConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RunConfiguration.Builder
builder(List<Path> services)
List<String>
getAdditionalArguments()
Any additional arguments to be passed to the local development server.Boolean
getAutomaticRestart()
String
getDefaultGcsBucketName()
Map<String,String>
getEnvironment()
String
getHost()
List<String>
getJvmFlags()
Returns command line flags that will be passed to the Java virtual machine that runs the local development server.Integer
getPort()
String
getProjectId()
Gets the GCP project ID.String
getProjectJdkVersion()
Returns the Custom Project JDK Version users set.List<Path>
getServices()
List of all the services (1 or more) that need to be run with the local devappserver.RunConfiguration.Builder
toBuilder()
Returns a mutable builder initialized with the values of this runtime configuration.
-
-
-
Method Detail
-
getServices
public List<Path> getServices()
List of all the services (1 or more) that need to be run with the local devappserver. If a directory, it must include WEB-INF/appengine-web.xml. For dev appserver 2, this may instead include references to app.yamls.
-
getJvmFlags
public List<String> getJvmFlags()
Returns command line flags that will be passed to the Java virtual machine that runs the local development server.
-
getAdditionalArguments
@Nullable public List<String> getAdditionalArguments()
Any additional arguments to be passed to the local development server. These arguments are neither parsed nor validated.
-
getProjectJdkVersion
@Nullable public String getProjectJdkVersion()
Returns the Custom Project JDK Version users set. This value is expected to be in the format ofjava.specification.version
system property.
-
builder
public static RunConfiguration.Builder builder(List<Path> services)
-
toBuilder
public RunConfiguration.Builder toBuilder()
Returns a mutable builder initialized with the values of this runtime configuration.
-
-