Class PackageTransformer
- java.lang.Object
-
- com.composum.sling.core.osgi.pckginstall.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 Summary
Constructors Constructor Description PackageTransformer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static String
cleanupVersion(String version)
org.apache.sling.installer.api.tasks.InstallTask
createTask(org.apache.sling.installer.api.tasks.TaskResourceGroup toActivate)
org.apache.sling.installer.api.tasks.TransformationResult[]
transform(org.apache.sling.installer.api.tasks.RegisteredResource resource)
-
-
-
Method Detail
-
transform
public org.apache.sling.installer.api.tasks.TransformationResult[] transform(org.apache.sling.installer.api.tasks.RegisteredResource resource)
- Specified by:
transform
in interfaceorg.apache.sling.installer.api.tasks.ResourceTransformer
-
createTask
public org.apache.sling.installer.api.tasks.InstallTask createTask(org.apache.sling.installer.api.tasks.TaskResourceGroup toActivate)
- Specified by:
createTask
in interfaceorg.apache.sling.installer.api.tasks.InstallTaskFactory
-
-