Interface DeployMethod
-
- All Known Implementing Classes:
FelixPostDeployMethod
,SlingPostDeployMethod
,WebDavPutDeployMethod
public interface DeployMethod
Deploys/installs and undeploys/uninstalls bundles on a Sling instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deploy(URI targetURL, File file, String bundleSymbolicName, DeployContext context)
Deploy/install a bundle on a Sling instance.void
undeploy(URI targetURL, String bundleName, DeployContext context)
Undeploy/uninstall a bundle on a Sling instance.
-
-
-
Method Detail
-
deploy
void deploy(URI targetURL, File file, String bundleSymbolicName, DeployContext context) throws IOException
Deploy/install a bundle on a Sling instance.- Parameters:
targetURL
- Target URLfile
- Bundle filebundleSymbolicName
- Bundle symbolic namecontext
- Deploy context parameters- Throws:
IOException
- in case of failure
-
undeploy
void undeploy(URI targetURL, String bundleName, DeployContext context) throws IOException
Undeploy/uninstall a bundle on a Sling instance.- Parameters:
targetURL
- Target URLbundleName
- Bundle symbolic name or file name (for all methods except forFelixPostDeployMethod
)context
- Deploy context parameters- Throws:
IOException
- in case of failure
-
-