public class ApplicationProcessingOptions extends Object
| Constructor and Description |
|---|
ApplicationProcessingOptions() |
| Modifier and Type | Method and Description |
|---|---|
com.google.apphosting.utils.config.StagingOptions |
getDefaultStagingOptions()
Get the default staging options.
|
File |
getJavaCompiler()
Returns an appropriate "javac" executable.
|
File |
getJavaExecutable()
Returns an appropriate "java" executable.
|
String |
getRuntime()
Returns the runtime id.
|
com.google.apphosting.utils.config.StagingOptions |
getStagingOptions()
Get the staging options.
|
boolean |
isAllowAnyRuntime()
Returns whether to skip validation of the runtime id provided by the user.
|
boolean |
isBatchModeSet()
Returns whether we should use batch upload
|
boolean |
isCompileJspsSet()
Returns whether we should attempt to compile JSPs
|
boolean |
isFailOnPrecompilationError()
Returns whether to abort an update in case precompilation fails.
|
boolean |
isIgnoreEndpointsFailures()
Return whether Endpoints config update failures should be ignored.
|
boolean |
isQuickstart()
Return whether Quickstart should be applied when staging
|
boolean |
isUseAsyncQuickstart()
Returns whether we should use the Async quickstart generator.
|
void |
setAllowAnyRuntime(boolean b)
Sets whether to skip validation of the runtime id provided by the user.
|
void |
setCallerUploadingDispatch(boolean b)
Sets whether caller will upload dispatch.xml.
|
void |
setDefaultStagingOptions(com.google.apphosting.utils.config.StagingOptions opts)
Sets the default staging options.
|
void |
setFailOnPrecompilationError(boolean b)
Sets whether to abort an update in case precompilation fails.
|
void |
setIgnoreEndpointsFailures(boolean b)
Sets whether Endpoints config update failures should be ignored.
|
void |
setQuickstart(boolean b)
Sets whether Quickstart should be applied when staging
|
void |
setRuntime(String s)
Sets the runtime id.
|
void |
setStagingOptions(com.google.apphosting.utils.config.StagingOptions opts)
Sets the staging options.
|
void |
setUseAsyncQuickstart(boolean b)
Sets whether we should use the Async quickstart generator.
|
public File getJavaExecutable()
setJavaExecutable(File) was made, that value is returned (on
windows, the algorithm is forgiving if ".exe" was omitted, and will add
it). If not, the system property java.home is used to identify
the currently-running JVM, and if that directory contains a file named
bin/java (Unix) or bin\\java.exe (Windows), that is
returned.File.IllegalStateException - if the java cannot be found by the
heuristic above, but setJavaExecutable(File) has not
been called, or if it has been called, but the specified file
cannot be found.public File getJavaCompiler()
setJavaCompiler(File) was made, that value is returned (on
windows, the algorithm is forgiving if ".exe" was omitted, and will add
it). If not, the system property java.home is used to identify
the currently-running JVM. If that pathname ends with "jre", then its
parent is used instead as a hoped-for JDK root. If that directory
contains a file named bin/javac (Unix) or bin\\javac.exe
(Windows), that is returned.File.IllegalStateException - if the javac cannot be found by the
heuristic above, but setJavaCompiler(File) has not be
called, or if it has been called but the file does not exist.public boolean isCompileJspsSet()
public boolean isBatchModeSet()
public void setUseAsyncQuickstart(boolean b)
public boolean isUseAsyncQuickstart()
public void setDefaultStagingOptions(com.google.apphosting.utils.config.StagingOptions opts)
public com.google.apphosting.utils.config.StagingOptions getDefaultStagingOptions()
public void setStagingOptions(com.google.apphosting.utils.config.StagingOptions opts)
public com.google.apphosting.utils.config.StagingOptions getStagingOptions()
public void setRuntime(String s)
public String getRuntime()
public void setAllowAnyRuntime(boolean b)
public boolean isAllowAnyRuntime()
public void setFailOnPrecompilationError(boolean b)
public boolean isFailOnPrecompilationError()
public void setIgnoreEndpointsFailures(boolean b)
public boolean isIgnoreEndpointsFailures()
public void setQuickstart(boolean b)
public boolean isQuickstart()
public void setCallerUploadingDispatch(boolean b)
Copyright © 2022. All rights reserved.