Class LaunchManifest


  • public class LaunchManifest
    extends java.lang.Object
    Describes all of the jars, broken up by module, required for launching an application of a given scope.
    • Field Detail

      • scope

        protected java.lang.String scope
      • frameworkVersion

        protected java.lang.Integer frameworkVersion
      • thirdPartyScriptModulesHash

        protected java.lang.String thirdPartyScriptModulesHash
      • useSsl

        protected boolean useSsl
      • port

        protected int port
      • jreVersion

        protected java.lang.String jreVersion
      • javaExecutable

        protected java.lang.String javaExecutable
      • useCondensedDialogFont

        protected boolean useCondensedDialogFont
    • Constructor Detail

      • LaunchManifest

        public LaunchManifest​(java.lang.String scope,
                              java.lang.Integer frameworkVersion)
      • LaunchManifest

        public LaunchManifest​(java.lang.String scope,
                              java.lang.String jreVersion,
                              java.lang.Integer frameworkVersion)
      • LaunchManifest

        public LaunchManifest​(java.lang.String scope,
                              java.lang.Integer frameworkVersion,
                              boolean useSsl,
                              int port)
      • LaunchManifest

        public LaunchManifest​(java.lang.String scope,
                              java.lang.String jreVersion,
                              java.lang.Integer frameworkVersion,
                              boolean useSsl,
                              int port)
    • Method Detail

      • getScope

        public java.lang.String getScope()
      • getJreVersion

        public java.lang.String 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)
      • getFrameworkVersion

        public java.lang.Integer getFrameworkVersion()
        Returns:
        the framework version (set in GatewayContextImpl).
      • isEmpty

        public boolean isEmpty()
        Returns whether or not this manifest has any JAR files described in its modules
      • setJavaExecutable

        public void setJavaExecutable​(java.lang.String javaExecutable)
        Sets the java executable to use for launching clients.
      • getJavaExecutable

        public java.lang.String getJavaExecutable()
        Returns the java executable to use for launching clients.
      • isUseSsl

        public boolean isUseSsl()
      • getPort

        public int getPort()
      • getThirdPartyScriptModulesHash

        public java.lang.String 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

        public void storeTo​(java.io.OutputStream outStream)
                     throws java.io.IOException
        Writes this manifest to the stream, and closes it
        Throws:
        java.io.IOException
      • storeTo

        public void storeTo​(java.io.Writer w)
                     throws java.io.IOException
        Stores to the stream and flushes but does not close it
        Throws:
        java.io.IOException
      • readFrom

        public static LaunchManifest readFrom​(java.io.InputStream is)
                                       throws java.io.IOException,
                                              org.xml.sax.SAXException
        Throws:
        java.io.IOException
        org.xml.sax.SAXException
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object