public static class AppAdminFactory.ApplicationProcessingOptions
extends java.lang.Object
Constructor and Description |
---|
AppAdminFactory.ApplicationProcessingOptions() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCompileEncoding() |
java.util.Set<java.lang.String> |
getJarSplittingExcludes()
Returns the set of suffixes of filenames that should be excluded when
splitting jars.
|
java.io.File |
getJavaCompiler()
Returns an appropriate "javac" executable.
|
java.io.File |
getJavaExecutable()
Returns an appropriate "java" executable.
|
java.lang.String |
getRuntime()
Returns the runtime id.
|
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 |
isDeleteJSPs()
Returns whether we should delete the JSP source files.
|
boolean |
isFailOnPrecompilationError()
Returns whether to abort an update in case precompilation fails.
|
boolean |
isJarClassesSet()
Returns whether we should jar the WEB-INF/classes content.
|
boolean |
isJarJSPsSet()
Returns whether we should jar the classes generated from JSPs.
|
boolean |
isSplitJarsSet()
Returns whether we should split large jar files.
|
void |
setAllowAnyRuntime(boolean b)
Sets whether to skip validation of the runtime id provided by the user.
|
void |
setCompileEncoding(java.lang.String compileEncoding) |
void |
setDeleteJSPs(boolean b)
Sets whether we should delete the JSP source files.
|
void |
setFailOnPrecompilationError(boolean b)
Sets whether to abort an update in case precompilation fails.
|
void |
setJarClasses(boolean b)
Sets whether we should jar the WEB-INF/classes content.
|
void |
setJarJSPs(boolean b)
Sets whether we should jar the classes generated from JSPs.
|
void |
setRuntime(java.lang.String s)
Sets the runtime id.
|
void |
splitJars(boolean b)
Sets whether we should split large jar files.
|
public AppAdminFactory.ApplicationProcessingOptions()
public java.io.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
.java.lang.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 java.io.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
.java.lang.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 java.lang.String getCompileEncoding()
public void setCompileEncoding(java.lang.String compileEncoding)
public boolean isSplitJarsSet()
public void splitJars(boolean b)
public void setJarJSPs(boolean b)
public boolean isJarJSPsSet()
public void setJarClasses(boolean b)
public boolean isJarClassesSet()
public void setDeleteJSPs(boolean b)
public boolean isDeleteJSPs()
public java.util.Set<java.lang.String> getJarSplittingExcludes()
public void setRuntime(java.lang.String s)
public java.lang.String getRuntime()
public void setAllowAnyRuntime(boolean b)
public boolean isAllowAnyRuntime()
public void setFailOnPrecompilationError(boolean b)
public boolean isFailOnPrecompilationError()