Class PackageTransformer

  • All Implemented Interfaces:
    org.apache.sling.installer.api.tasks.InstallTaskFactory, org.apache.sling.installer.api.tasks.ResourceTransformer

    public class PackageTransformer
    extends Object
    implements org.apache.sling.installer.api.tasks.ResourceTransformer, org.apache.sling.installer.api.tasks.InstallTaskFactory
    • Constructor Detail

      • PackageTransformer

        public PackageTransformer()
    • Method Detail

      • transform

        public org.apache.sling.installer.api.tasks.TransformationResult[] transform​(org.apache.sling.installer.api.tasks.RegisteredResource resource)
        Specified by:
        transform in interface org.apache.sling.installer.api.tasks.ResourceTransformer
      • cleanupVersion

        protected static String cleanupVersion​(String version)
      • createTask

        public org.apache.sling.installer.api.tasks.InstallTask createTask​(org.apache.sling.installer.api.tasks.TaskResourceGroup toActivate)
        Specified by:
        createTask in interface org.apache.sling.installer.api.tasks.InstallTaskFactory