public class LaunchManifest
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
LaunchManifest.Jar |
static class |
LaunchManifest.Module |
Modifier and Type | Field and Description |
---|---|
protected java.lang.Integer |
frameworkVersion |
protected java.lang.String |
javaExecutable |
protected java.lang.String |
jreVersion |
protected java.util.Map<java.lang.String,LaunchManifest.Module> |
modules |
protected int |
port |
protected java.lang.String |
scope |
protected java.lang.String |
thirdPartyScriptModulesHash |
protected boolean |
useSsl |
Constructor and Description |
---|
LaunchManifest(java.lang.String scope,
java.lang.Integer frameworkVersion) |
LaunchManifest(java.lang.String scope,
java.lang.Integer frameworkVersion,
boolean useSsl,
int port) |
LaunchManifest(java.lang.String scope,
java.lang.String jreVersion,
java.lang.Integer frameworkVersion) |
LaunchManifest(java.lang.String scope,
java.lang.String jreVersion,
java.lang.Integer frameworkVersion,
boolean useSsl,
int port) |
Modifier and Type | Method and Description |
---|---|
void |
addModule(LaunchManifest.Module module) |
boolean |
equals(java.lang.Object o) |
java.lang.Integer |
getFrameworkVersion() |
java.lang.String |
getJavaExecutable()
Returns the java executable to use for launching clients.
|
java.lang.String |
getJreVersion() |
java.lang.Iterable<LaunchManifest.Module> |
getModules() |
int |
getPort() |
java.lang.String |
getScope() |
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
|
boolean |
isEmpty()
Returns whether or not this manifest has any JAR files described in its modules
|
boolean |
isUseSsl() |
AbstractLaunchStep.LockedAction<LaunchManifest> |
newDiffAction(LaunchContextImpl context) |
static LaunchManifest |
readFrom(java.io.InputStream is) |
void |
setJavaExecutable(java.lang.String javaExecutable)
Sets the java executable to use for launching clients.
|
void |
storeTo(java.io.OutputStream outStream)
Writes this manifest to the stream, and closes it
|
void |
storeTo(java.io.Writer w)
Stores to the stream and flushes but does not close it
|
protected java.lang.String scope
protected java.lang.Integer frameworkVersion
protected java.util.Map<java.lang.String,LaunchManifest.Module> modules
protected java.lang.String thirdPartyScriptModulesHash
protected boolean useSsl
protected int port
protected java.lang.String jreVersion
protected java.lang.String javaExecutable
public LaunchManifest(java.lang.String scope, java.lang.Integer frameworkVersion)
public LaunchManifest(java.lang.String scope, java.lang.String jreVersion, java.lang.Integer frameworkVersion)
public LaunchManifest(java.lang.String scope, java.lang.Integer frameworkVersion, boolean useSsl, int port)
public LaunchManifest(java.lang.String scope, java.lang.String jreVersion, java.lang.Integer frameworkVersion, boolean useSsl, int port)
public AbstractLaunchStep.LockedAction<LaunchManifest> newDiffAction(LaunchContextImpl context)
public java.lang.String getScope()
public java.lang.String getJreVersion()
public java.lang.Integer getFrameworkVersion()
public void addModule(LaunchManifest.Module module)
public java.lang.Iterable<LaunchManifest.Module> getModules()
public boolean isEmpty()
public void setJavaExecutable(java.lang.String javaExecutable)
public java.lang.String getJavaExecutable()
public boolean isUseSsl()
public int getPort()
public java.lang.String getThirdPartyScriptModulesHash()
public void storeTo(java.io.OutputStream outStream) throws java.io.IOException
java.io.IOException
public void storeTo(java.io.Writer w) throws java.io.IOException
java.io.IOException
public static LaunchManifest readFrom(java.io.InputStream is) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object