Class LaunchManifest
java.lang.Object
com.inductiveautomation.ignition.client.launch.LaunchManifest
Describes all of the jars, broken up by module, required for launching an application of a given scope.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Integer
protected String
protected List<JpmsModule>
protected String
protected Map<String,
LaunchManifest.Module> protected int
protected String
protected String
protected boolean
protected boolean
-
Constructor Summary
ConstructorsConstructorDescriptionLaunchManifest
(String scope, Integer frameworkVersion) LaunchManifest
(String scope, Integer frameworkVersion, boolean useSsl, int port) LaunchManifest
(String scope, String jreVersion, Integer frameworkVersion) LaunchManifest
(String scope, String jreVersion, Integer frameworkVersion, boolean useSsl, int port) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addModule
(LaunchManifest.Module module) boolean
Returns the java executable to use for launching clients.Returns the list of JpmsModules which have explicit opens/exports requirements due to Strong Encapsulation of the JVM internals.int
getPort()
getScope()
Note that this will return null if this client is a 7.7 client that has been targeted to a 7.6 or earlier Gatewayboolean
isEmpty()
Returns whether or not this manifest has any JAR files described in its modulesboolean
isUseSsl()
newDiffAction
(LaunchContextImpl context) static LaunchManifest
readFrom
(InputStream is) void
setJavaExecutable
(String javaExecutable) Sets the java executable to use for launching clients.void
setJpmsModules
(List<JpmsModule> jpmsModules) Sets theJpmsModule
s which are required for this client.void
setUseCondensedDialogFont
(boolean useCondensedDialogFont) void
setUserClassRejectList
(List<String> userClassRejectList) void
storeTo
(OutputStream outStream) Writes this manifest to the stream, and closes itvoid
Stores to the stream and flushes but does not close itboolean
-
Field Details
-
scope
-
frameworkVersion
-
modules
-
thirdPartyScriptModulesHash
-
useSsl
protected boolean useSsl -
port
protected int port -
jreVersion
-
javaExecutable
-
useCondensedDialogFont
protected boolean useCondensedDialogFont -
jpmsModules
-
userClassRejectList
-
-
Constructor Details
-
LaunchManifest
-
LaunchManifest
-
LaunchManifest
-
LaunchManifest
-
-
Method Details
-
newDiffAction
-
getScope
-
getJreVersion
-
useCondensedDialogFont
public boolean useCondensedDialogFont()- Returns:
- true if the designer or client should use the condensed version of the Dialog font. This font is the Noto Sans Condensed font and is packaged in the JRE alongside the standard Noto Sans font.
-
setUseCondensedDialogFont
public void setUseCondensedDialogFont(boolean useCondensedDialogFont) -
getJpmsModules
Returns the list of JpmsModules which have explicit opens/exports requirements due to Strong Encapsulation of the JVM internals. -
setJpmsModules
Sets theJpmsModule
s which are required for this client.- Parameters:
jpmsModules
- a list of modules. Must not be null, but may be an empty list
-
getUserClassRejectList
-
setUserClassRejectList
-
getFrameworkVersion
- Returns:
- the framework version (set in GatewayContextImpl).
-
addModule
-
getModules
-
isEmpty
public boolean isEmpty()Returns whether or not this manifest has any JAR files described in its modules -
setJavaExecutable
Sets the java executable to use for launching clients. -
getJavaExecutable
Returns the java executable to use for launching clients. -
isUseSsl
public boolean isUseSsl() -
getPort
public int getPort() -
getThirdPartyScriptModulesHash
Note that this will return null if this client is a 7.7 client that has been targeted to a 7.6 or earlier Gateway -
storeTo
Writes this manifest to the stream, and closes it- Throws:
IOException
-
storeTo
Stores to the stream and flushes but does not close it- Throws:
IOException
-
readFrom
public static LaunchManifest readFrom(InputStream is) throws IOException, SAXException, ParserConfigurationException -
equals
-