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

A

addTempFile(Path) - Method in class Capsule
 
agent(Instrumentation) - Method in class Capsule
Called on a capsule agent instance in the application process.
appDir() - Method in class Capsule
Returns this capsule's cache directory.
ATTR_AGENT - Static variable in class Capsule
 
ATTR_APP_ARTIFACT - Static variable in class Capsule
 
ATTR_APP_CLASS - Static variable in class Capsule
 
ATTR_APP_CLASS_PATH - Static variable in class Capsule
 
ATTR_APP_ID - Static variable in class Capsule
The application's unique ID.
ATTR_APP_NAME - Static variable in class Capsule
The application's name.
ATTR_APP_VERSION - Static variable in class Capsule
 
ATTR_BOOT_CLASS_PATH - Static variable in class Capsule
 
ATTR_BOOT_CLASS_PATH_A - Static variable in class Capsule
 
ATTR_BOOT_CLASS_PATH_P - Static variable in class Capsule
 
ATTR_CAPLETS - Static variable in class Capsule
 
ATTR_CAPSULE_IN_CLASS_PATH - Static variable in class Capsule
 
ATTR_DEPENDENCIES - Static variable in class Capsule
 
ATTR_JAVA_AGENTS - Static variable in class Capsule
 
ATTR_JAVA_VERSION - Static variable in class Capsule
 
ATTR_JDK_REQUIRED - Static variable in class Capsule
 
ATTR_JVM_ARGS - Static variable in class Capsule
 
ATTR_LIBRARY_PATH_A - Static variable in class Capsule
 
ATTR_LIBRARY_PATH_P - Static variable in class Capsule
 
ATTR_MIN_JAVA_VERSION - Static variable in class Capsule
 
ATTR_MIN_UPDATE_VERSION - Static variable in class Capsule
 
ATTR_NATIVE_AGENTS - Static variable in class Capsule
 
ATTR_NATIVE_DEPENDENCIES - Static variable in class Capsule
 
ATTR_SCRIPT - Static variable in class Capsule
 
ATTR_SECURITY_MANAGER - Static variable in class Capsule
 
ATTR_SECURITY_POLICY - Static variable in class Capsule
 
ATTR_SECURITY_POLICY_A - Static variable in class Capsule
 
ATTR_SYSTEM_PROPERTIES - Static variable in class Capsule
 
ATTRIBUTE(String, T, T, boolean, String) - Static method in class Capsule
Registers a manifest attribute.
attribute(Map.Entry<String, T>) - Method in class Capsule
CAPLET OVERRIDE ONLY: Returns the value of the given capsule attribute with consideration to the capsule's mode.

B

buildAppCacheDir() - Method in class Capsule
Returns the path of the application cache (this is the directory where the capsule is extracted if necessary).
buildArgs(List<String>) - Method in class Capsule
Returns a list of command line arguments to pass to the application.
buildEnvironmentVariables(Map<String, String>) - Method in class Capsule
Returns a map of environment variables (property-value pairs).
buildProcess() - Method in class Capsule
Constructs a ProcessBuilder that is later used to launch the capsule.

C

Capsule - Class in <Unnamed>
An application capsule.
Capsule(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.
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.

E

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.

F

finalizeCapsule() - Method in class Capsule
Called once the capsule construction has been completed (after loading of wrapped capsule, if applicable).

G

getAppDir() - Method in class Capsule
This capsule's cache directory, or null if capsule has been configured not to extract, or the app cache dir hasn't been set up yet.
getAppId() - Method in class Capsule
Returns the app's ID.
getAttribute(Map.Entry<String, T>) - Method in class Capsule
Returns the value of the given manifest attribute with consideration to the capsule's mode.
getAttributeDefaultValue(Map.Entry<String, T>) - Method in class Capsule
 
getAttributeNoLookup(Map.Entry<String, T>) - Method in class Capsule
Returns the default value of the given manifest attribute.
getCallTarget(Class<T>) - Method in class Capsule
 
getEntryInputStream(Path, String) - Static method in class Capsule
 
getenv(String) - Static method in class Capsule
Returns the value of an environment variable - should be used instead of System.getenv(envName).
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.
getLogLevel() - Static method in class Capsule
Capsule's log level
getMBeanServerConnection() - Method in class Capsule
Returns an MBeanServerConnection to the application's MBeanServer.
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.
getNativeLibExtension() - Static method in class Capsule
The suffix of a native library on this OS.
getPermissions(Path) - Static method in class Capsule
Returns the permissions of the given file or directory.
getPlatform() - Method in class Capsule
The OS platform.
getPlatformNativeLibraryPath() - Method in class Capsule
Returns the default native library path for the Java platform the application uses.
getProperty(String) - Static method in class Capsule
Returns a system property - should be used instead of System.getProperty(propName).
getVarValue(String) - Method in class Capsule
Resolves $VARNAME or ${VARNAME} in attribute values.
getWritableAppCache() - Method in class Capsule
Returns a writable directory that can be used to store files related to launching the capsule.

H

hasAttribute(Map.Entry<String, ?>) - Method in class Capsule
Tests whether the given attribute is found in the manifest.
hasCaplet(String) - Method in class Capsule
Checks whether a caplet with the given class name is installed.

I

isAgent() - Method in class Capsule
Is this the Capsule instance running as an agent in the application?
isEmptyCapsule() - Method in class Capsule
 
isLogging(int) - Static 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

launch(ProcessBuilder) - Method in class Capsule
Launches the process defined by the given ProcessBuilder.
liftoff() - Method in class Capsule
Called after the application has been launched by the capsule and postlauch has returned a non-null process.
loadTargetCapsule(ClassLoader, Path) - Method in class Capsule
Loads the wrapped capsule when this capsule is the wrapper.
log(int, String) - Static method in class Capsule
Prints a message to stderr if the given log-level is being logged.
log(int, Throwable) - Static method in class Capsule
Prints the given exception's stack-trace 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
 
lookup(String, String, Map.Entry<String, ?>, Object) - Method in class Capsule
Converts a string file/dependency descriptor listed in the manifest to an opaque file descriptor used in attributes of type T_FILE).
lookup(String) - Method in class Capsule
Same as lookup(x, null, null, null)
lookup(String, Map.Entry<String, ?>) - Method in class Capsule
Same as lookup(x, null, attrContext, null)

M

main(String[]) - Static method in class Capsule
 
main0(String[]) - Static method in class Capsule
Alternative main entry point that is not using System.exit(), thus avoiding callers to be terminated in an unexpected way.
move(Path, Path, Path) - Static method in class Capsule
Returns a path to a file or directory moved from fromDir to toDir.

N

name(Map.Entry<String, ?>) - Method in class Capsule
Returns an attribute's name.

O

onError(Throwable) - Method in class Capsule
Called when an unhandled exception is thrown, to display error information to the user before shutting down.
OPTION(String, String, String, boolean, String) - Static method in class Capsule
Registers a capsule command-line option.
OPTION(String, String, String, String) - Static method in class Capsule

P

postlaunch(Process) - Method in class Capsule
Called after the application has been launched by the capsule.
prelaunch(List<String>, List<String>) - Method in class Capsule
Returns a configured ProcessBuilder that is later used to launch the capsule.
premain(String, Instrumentation) - Static method in class Capsule
 

R

resolve(Object) - Method in class Capsule
Resolves a file descriptor returned from lookup.

S

setProperty(String, String) - Static method in class Capsule
Sets a system property.
STDERR - Static variable in class Capsule
 
STDOUT - Static variable in class Capsule
 
sup(Class<T>) - Method in class Capsule
The first caplet in the caplet chain starting with the current one and going up (back) that is of the requested type.
sup(String) - Method in class Capsule
The first caplet in the caplet chain starting with the current one and going up (back) that is of the requested type.

T

T_BOOL() - Static method in class Capsule
Represents the attribute type Boolean
T_DOUBLE() - Static method in class Capsule
Represents the attribute type Double
T_FILE() - Static method in class Capsule
Represents an attribute type that contains a file path, dependency or class name
T_FILE(String) - Static method in class Capsule
Represents an attribute type that contains a file path, dependency or class name
T_LIST(E) - Static method in class Capsule
A List of type type
T_LONG() - Static method in class Capsule
Represents the attribute type Long
T_MAP(K, V, V) - Static method in class Capsule
A Map from type keyType to type valType
T_SET(E) - Static method in class Capsule
A Set of type type
T_STRING() - Static method in class Capsule
Represents the attribute type String
toString() - Method in class Capsule
 
trace(String, T) - Static method in class Capsule
Prints a value to System.err and returns it.

V

verifyAfterStage(int) - Method in class Capsule
 
VERSION - Static variable in class Capsule
 
A B C E F G H I L M N O P R S T V 
Skip navigation links