public static class ConfigJar.CanonicalForm
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ConfigJar.CanonicalForm.GlobalInfo |
static class |
ConfigJar.CanonicalForm.ResourceInfo |
Constructor and Description |
---|
CanonicalForm(ConfigService configService, ConfigJar.CanonicalForm other)
This one is used during jar upgrade
|
CanonicalForm(ConfigService configService, ConfigJar.SerializedForm sform, java.util.Collection<Ref> refsToImport, boolean includeDependencies, char[] userPassphrase)
Converts from serialized form to canonical form.
|
CanonicalForm(ConfigService configService, java.lang.String session, java.util.Collection<Ref> refsToExport, boolean includeDependencies, boolean isProjectLevelExport)
Obtains a canonical representation of the data to be exported.
|
Modifier and Type | Method and Description |
---|---|
ConfigJar.CanonicalForm.GlobalInfo |
getGlobalInfo() |
java.util.Map<Ref,ConfigJar.CanonicalForm.ResourceInfo> |
getResourceInfos() |
java.util.Map<java.lang.String,java.lang.Object> |
getScratchPad() |
public CanonicalForm(ConfigService configService, java.lang.String session, java.util.Collection<Ref> refsToExport, boolean includeDependencies, boolean isProjectLevelExport) throws java.lang.Exception
java.lang.Exception
public CanonicalForm(ConfigService configService, ConfigJar.CanonicalForm other)
public CanonicalForm(ConfigService configService, ConfigJar.SerializedForm sform, java.util.Collection<Ref> refsToImport, boolean includeDependencies, char[] userPassphrase) throws java.lang.Exception
configService
- config service instancesform
- the serialized formrefsToImport
- the references to importuserPassphrase
- the passphrase supplied by the importing user. This will be validated against the passphrase usind during import.java.lang.Exception
public ConfigJar.CanonicalForm.GlobalInfo getGlobalInfo()
public java.util.Map<Ref,ConfigJar.CanonicalForm.ResourceInfo> getResourceInfos()
public java.util.Map<java.lang.String,java.lang.Object> getScratchPad()