com.liferay.portal.kernel.deploy
Class DeployManagerUtil
java.lang.Object
com.liferay.portal.kernel.deploy.DeployManagerUtil
public class DeployManagerUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeployManagerUtil
public DeployManagerUtil()
deploy
public static void deploy(File file)
throws Exception
- Throws:
Exception
deploy
public static void deploy(File file,
String context)
throws Exception
- Throws:
Exception
getDeployDir
public static String getDeployDir()
throws Exception
- Throws:
Exception
getDeployManager
public static DeployManager getDeployManager()
getInstalledDir
public static String getInstalledDir()
throws Exception
- Throws:
Exception
getInstalledPluginPackage
public static PluginPackage getInstalledPluginPackage(String context)
getInstalledPluginPackages
public static List<PluginPackage> getInstalledPluginPackages()
isDeployed
public static boolean isDeployed(String context)
redeploy
public static void redeploy(String context)
throws Exception
- Throws:
Exception
undeploy
public static void undeploy(String context)
throws Exception
- Throws:
Exception
setDeployManager
public void setDeployManager(DeployManager deployManager)