Skip navigation links
B C D E G H I L M N P R S T V 

B

buildAppId() - Method in class Capsule
Computes and returns application's ID.
buildArgs(List<String>) - Method in class Capsule
Returns a list of command line arguments to pass to the application.
buildBootClassPath() - Method in class Capsule
Compiles and returns the application's boot classpath as a list of paths.
buildBootClassPathA() - Method in class Capsule
Compiles and returns the paths to be appended to the application's boot classpath.
buildBootClassPathP() - Method in class Capsule
Compiles and returns the paths to be prepended to the application's boot classpath.
buildClassPath() - Method in class Capsule
Compiles and returns the application's classpath as a list of paths.
buildEnvironmentVariables(Map<String, String>) - Method in class Capsule
Returns a map of environment variables (property-value pairs).
buildJavaAgents() - Method in class Capsule
Returns all Java agents that will be launched with the application.
buildJVMArgs() - Method in class Capsule
Returns a list of JVM arguments.
buildNativeLibraryPath() - Method in class Capsule
Compiles and returns the application's native library as a list of paths.
buildProcess() - Method in class Capsule
Constructs a ProcessBuilder that is later used to launch the capsule.
buildSystemProperties() - Method in class Capsule
Returns a map of system properties (property-value pairs).

C

Capsule - Class in <Unnamed>
An application capsule.
Capsule(Path, Path) - Constructor for class Capsule
Constructs a capsule.
Capsule(Capsule) - Constructor for class Capsule
Caplets that will be listed on the manifest's Caplets attribute must use this constructor.
chooseJavaHome() - Method in class Capsule
Chooses which Java installation to use for running the app.
chooseLogLevel() - Method in class Capsule
Chooses and returns the capsules log level.
chooseMode() - Method in class Capsule
Chooses this capsule's mode.
cleanup() - Method in class Capsule
Called when the capsule exits after a successful or failed attempt to launch the application.
clone() - Method in class Capsule
Throws a CloneNotSupportedException
compareVersions(String, String, int) - Static method in class Capsule
Compares two dotted software versions, regarding only the first several version components.
compareVersions(String, String) - Static method in class Capsule
Compares two dotted software versions.
copy(Path, Path) - Static method in class Capsule
Copies the source file or directory (recursively) to the target location.

D

delete(Path) - Static method in class Capsule
Deletes the given file or directory (even if nonempty).

E

equals(Object) - Method in class Capsule
 
exec(String...) - Static method in class Capsule
Executes a command and returns its output as a list of lines.
exec(int, String...) - Static method in class Capsule
Executes a command and returns its output as a list of lines.
exec(ProcessBuilder) - Static method in class Capsule
Executes a command and returns its output as a list of lines.
exec(int, ProcessBuilder) - Static method in class Capsule
Executes a command and returns its output as a list of lines.
expand(String) - Method in class Capsule
Expands occurrences of $VARNAME in attribute values.
extractCapsule() - Method in class Capsule
Extracts the capsule's contents into the app cache directory.

G

getAppCache() - Method in class Capsule
This capsule's cache directory, or null if capsule has been configured not to extract.
getAppId() - Method in class Capsule
Returns the app's ID.
getAppName() - Method in class Capsule
The app's name
getAppVersion() - Method in class Capsule
The app's version or null if unversioned.
getAttribute(String) - Method in class Capsule
Returns the value of the given manifest attribute with consideration to the capsule's mode.
getAttribute0(String) - Method in class Capsule
 
getDependencies() - Method in class Capsule
Returns a list of dependencies, each in the format groupId:artifactId:version[:classifier] (classifier is optional)
getJarFile() - Method in class Capsule
This capsule's JAR file.
getJavaExecutable() - Method in class Capsule
Returns the path to the executable that will be used to launch Java.
getJavaExecutable(Path) - Static method in class Capsule
Finds the path to the executable that will be used to launch Java within the given javaHome.
getJavaHome() - Method in class Capsule
The path to the Java installation this capsule's app will use.
getJavaHomes() - Static method in class Capsule
Returns all found Java installations.
getListAttribute(String) - Method in class Capsule
Returns the value of the given attribute (with consideration to the capsule's mode) as a list.
getLocalRepo() - Method in class Capsule
Returns the path to the local dependency repository.
getLogLevel() - Method in class Capsule
Capsule's log level
getMapAttribute(String, String) - Method in class Capsule
Returns the value of the given attribute (with consideration to the capsule's mode) as a map.
getMode() - Method in class Capsule
This capsule's current mode.
getModeDescription(String) - Method in class Capsule
Returns the description of the given mode.
getModes() - Method in class Capsule
Returns the names of all modes defined in this capsule's manifest.
getNativeDependencies() - Method in class Capsule
Constructs this capsule's native dependency list.
getPlatformNativeLibraryPath() - Method in class Capsule
Returns the default native library path for the Java platform the application uses.

H

hasAttribute(String) - Method in class Capsule
Tests whether the given attribute is found in the manifest.
hashCode() - Method in class Capsule
 

I

isAppCacheUpToDate() - Method in class Capsule
Whether the app cache is up to date.
isLogging(int) - Method in class Capsule
Tests if the given log level is currently being logged
isMac() - Static method in class Capsule
Tests whether the current OS is MacOS.
isUnix() - Static method in class Capsule
Tests whether the current OS is UNIX/Linux.
isWindows() - Static method in class Capsule
Tests whether the current OS is Windows.
isWrapperCapsule() - Method in class Capsule
Whether or not this is an empty capsule

L

listDir(Path, String, boolean) - Static method in class Capsule
Returns the contents of a directory.
log(int, String) - Method in class Capsule
Prints a message to stderr if the given log-level is being logged.
LOG_DEBUG - Static variable in class Capsule
 
LOG_NONE - Static variable in class Capsule
 
LOG_QUIET - Static variable in class Capsule
 
LOG_VERBOSE - Static variable in class Capsule
 

M

main(String[]) - Static method in class Capsule
 
markCache() - Method in class Capsule
Called after a successful completion of launch preparation if an app cache is used to write persistent information to the cache denoting the successful preparation.

N

needsAppCache() - Method in class Capsule
 

P

parse(String) - Static method in class Capsule
Parses an attribute's value string into a list.
parse(String, String) - Static method in class Capsule
Parses an attribute's value string into an ordered map.
prelaunch(List<String>) - Method in class Capsule
Returns a configured ProcessBuilder that is later used to launch the capsule.
processOutgoingPath(Path) - Method in class Capsule
Every path emitted by the capsule to the app's command line, system properties or environment variables is first passed through this method.

R

registerOption(String, String, String, String) - Static method in class Capsule
Registers a capsule command-line option.

S

systemProperty(String) - Static method in class Capsule
Same as System.getProperty(propName) but sets context for error reporting.

T

testAppCacheUpToDate() - Method in class Capsule
Tests if the app cache is up to date.
toString() - Method in class Capsule
 
toStringValue(Collection<?>) - Static method in class Capsule
Combines collection elements into a string that can be used as the value of an attribute.
toStringValue(Map<?, ?>) - Static method in class Capsule
Combines map elements into a string that can be used as the value of an attribute.

V

VERSION - Static variable in class Capsule
 
B C D E G H I L M N P R S T V 
Skip navigation links