public class UploadedJarInfoImpl extends java.lang.Object implements UploadedJarInfo, InternalDataContainer, java.io.Serializable
| Constructor and Description |
|---|
UploadedJarInfoImpl(ConfigService configService, java.lang.String session) |
| Modifier and Type | Method and Description |
|---|---|
ImportPlan |
getDefaultImportPlan()
Returns the default import plan for the importing jar.
|
java.util.Map<Ref,Diagnostics> |
getFailedResources()
Returns a mapping from resources that failed to import to diagnostics describing the failure.
|
ProductInfo |
getProductInfo()
Returns information about the product which is the origin of this jar
|
java.util.Map<Ref,UploadedResourceInfo> |
getResourceInfos()
Returns information about individual resources in the jar file
|
boolean |
isEncrypted(java.util.Collection<Ref> refs, boolean recursive)
Returns true if importing the given references will require a passphrase because either the indicated resources are encrypted, or they depend on another resource that has encrypted data.
|
boolean |
isProjectLevelExport()
Returns whether the jar file was exported at the project level.
|
void |
removeInternalData(Sanitizer s) |
boolean |
supportsIncludeDependencies()
Returns true if jar file contains dependency information about the resources that was injected at the time of export.
|
public UploadedJarInfoImpl(ConfigService configService, java.lang.String session) throws NotFoundException
NotFoundExceptionpublic boolean isProjectLevelExport()
UploadedJarInfoisProjectLevelExport in interface UploadedJarInfopublic java.util.Map<Ref,UploadedResourceInfo> getResourceInfos()
UploadedJarInfogetResourceInfos in interface UploadedJarInfopublic java.util.Map<Ref,Diagnostics> getFailedResources()
UploadedJarInfogetFailedResources in interface UploadedJarInfopublic ProductInfo getProductInfo()
UploadedJarInfogetProductInfo in interface UploadedJarInfopublic ImportPlan getDefaultImportPlan()
UploadedJarInfogetDefaultImportPlan in interface UploadedJarInfopublic boolean supportsIncludeDependencies()
UploadedJarInfosupportsIncludeDependencies in interface UploadedJarInfopublic void removeInternalData(Sanitizer s)
removeInternalData in interface InternalDataContainerpublic boolean isEncrypted(java.util.Collection<Ref> refs, boolean recursive)
isEncrypted in interface UploadedJarInforefs - the references to resources in the uploaded jar filerecursive - if false only given references are inspected. if recursive, their dependencies are inspected (recursively) as well