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 classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Integerprotected Stringprotected List<JpmsModule>protected Stringprotected Map<String,LaunchManifest.Module> protected intprotected Stringprotected Stringprotected booleanprotected 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 TypeMethodDescriptionvoidaddModule(LaunchManifest.Module module) booleanReturns 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.intgetPort()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 GatewaybooleanisEmpty()Returns whether or not this manifest has any JAR files described in its modulesbooleanisUseSsl()newDiffAction(LaunchContextImpl context) static LaunchManifestreadFrom(InputStream is) voidsetJavaExecutable(String javaExecutable) Sets the java executable to use for launching clients.voidsetJpmsModules(List<JpmsModule> jpmsModules) Sets theJpmsModules which are required for this client.voidsetUseCondensedDialogFont(boolean useCondensedDialogFont) voidsetUserClassRejectList(List<String> userClassRejectList) voidstoreTo(OutputStream outStream) Writes this manifest to the stream, and closes itvoidStores 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 theJpmsModules 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
-