public interface ContentPackageValidator
ContentPackageValidator
Validates a content package before installing it in /crx/packmgr. Reports all unsatisfied OSGi
package imports, overlay rebase warnings which will occur if the content package is installed.Modifier and Type | Method and Description |
---|---|
java.util.List<AclWarning> |
validateAcls(java.io.File contentPackageFile,
Session session)
Validates a content package for ACL warnings, given its
File object. |
java.util.List<AclWarning> |
validateAcls(JcrPackage jcrPackage,
Session session)
Validates a content package for ACL warnings, given its
JcrPackage object. |
java.util.List<UnsatisfiedImport> |
validateOsgiImports(java.io.File contentPackageFile)
Validates a content package for unsatisfied OSGi package imports, given its
File object. |
java.util.List<UnsatisfiedImport> |
validateOsgiImports(JcrPackage jcrPackage)
Validates a content package for unsatisfied OSGi package imports, given its
JcrPackage object. |
java.util.List<OverlayRebaseWarning> |
validateOverlays(java.io.File contentPackageFile,
Session session)
Validates a content package for overlay rebase warnings, given its
File object. |
java.util.List<OverlayRebaseWarning> |
validateOverlays(JcrPackage pack,
Session session)
Validates a content package for overlay rebase warnings, given its
JcrPackage object. |
java.util.List<UnsatisfiedImport> validateOsgiImports(JcrPackage jcrPackage) throws RepositoryException, java.io.IOException
JcrPackage
object.JcrPackage
- object of the content packagejava.io.IOException
RepositoryException
java.util.List<UnsatisfiedImport> validateOsgiImports(java.io.File contentPackageFile) throws java.io.IOException
File
object.File
- object of the content packagejava.io.IOException
java.util.List<OverlayRebaseWarning> validateOverlays(JcrPackage pack, Session session) throws RepositoryException, java.io.IOException
JcrPackage
object.JcrPackage
- object of the content packageSession
- to get access to JCRjava.io.IOException
RepositoryException
java.util.List<OverlayRebaseWarning> validateOverlays(java.io.File contentPackageFile, Session session) throws java.io.IOException, RepositoryException
File
object.File
- object of the content packageSession
- to get access to JCRjava.io.IOException
RepositoryException
java.util.List<AclWarning> validateAcls(JcrPackage jcrPackage, Session session) throws java.io.IOException, RepositoryException
JcrPackage
object.jcrPackage
- JcrPackage
object of the content packagesession
- Session
to get access to JCRjava.io.IOException
RepositoryException
java.util.List<AclWarning> validateAcls(java.io.File contentPackageFile, Session session) throws java.io.IOException, RepositoryException
File
object.contentPackageFile
- File
object of the content packagesession
- Session
to get access to JCRjava.io.IOException
RepositoryException
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"