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.util.Map<java.lang.String,LaunchManifest.Module> |
modules |
protected java.lang.String |
scope |
protected java.lang.String |
thirdPartyScriptModulesHash |
Constructor and Description |
---|
LaunchManifest(java.lang.String scope,
java.lang.Integer frameworkVersion) |
Modifier and Type | Method and Description |
---|---|
void |
addModule(LaunchManifest.Module module) |
boolean |
equals(java.lang.Object o) |
java.lang.Integer |
getFrameworkVersion()
Returns the framework version (set in SRContext).
|
java.lang.Iterable<LaunchManifest.Module> |
getModules() |
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
|
AbstractLaunchStep.LockedAction<LaunchManifest> |
newDiffAction(LaunchContextImpl context) |
static LaunchManifest |
readFrom(java.io.InputStream is) |
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
public LaunchManifest(java.lang.String scope, java.lang.Integer frameworkVersion)
public AbstractLaunchStep.LockedAction<LaunchManifest> newDiffAction(LaunchContextImpl context)
public java.lang.String getScope()
public java.lang.Integer getFrameworkVersion()
public void addModule(LaunchManifest.Module module)
public java.lang.Iterable<LaunchManifest.Module> getModules()
public boolean isEmpty()
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