Package com.liferay.portal.tools.deploy
Class BaseAutoDeployer
Object
com.liferay.portal.tools.deploy.BaseAutoDeployer
- All Implemented Interfaces:
com.liferay.portal.kernel.deploy.auto.AutoDeployer,Closeable,AutoCloseable
- Direct Known Subclasses:
PortletAutoDeployer,ThemeAutoDeployer
public class BaseAutoDeployer
extends Object
implements com.liferay.portal.kernel.deploy.auto.AutoDeployer
- Author:
- Brian Wing Shun Chan, Sandeep Soni
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringstatic final Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected StringFields inherited from interface com.liferay.portal.kernel.deploy.auto.AutoDeployer
CODE_DEFAULT, CODE_NOT_APPLICABLE, CODE_SKIP_NEWER_VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintautoDeploy(com.liferay.portal.kernel.deploy.auto.context.AutoDeploymentContext autoDeploymentContext) voidclose()voidcopyDependencyXml(String fileName, String targetDir) voidvoidcopyDependencyXml(String fileName, String targetDir, Map<String, String> filterMap, boolean overwrite) voidcopyXmls(File srcFile, String displayName, com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) voiddeployDirectory(File srcFile, String displayName, com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) getExtraContent(double webXmlVersion, File srcFile, String displayName) getIgnoreFiltersContent(File srcFile) processPluginPackageProperties(File srcFile, String displayName, com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) voidupdateDeployDirectory(File srcFile)
-
Field Details
-
DEPLOY_TO_PREFIX
- See Also:
-
auiTaglibDTD
-
portletExtTaglibDTD
-
portletTaglibDTD
-
securityTaglibDTD
-
tempDirPaths
-
themeTaglibDTD
-
uiTaglibDTD
-
utilTaglibDTD
-
-
Constructor Details
-
BaseAutoDeployer
-
-
Method Details
-
autoDeploy
public int autoDeploy(com.liferay.portal.kernel.deploy.auto.context.AutoDeploymentContext autoDeploymentContext) throws com.liferay.portal.kernel.deploy.auto.AutoDeployException - Specified by:
autoDeployin interfacecom.liferay.portal.kernel.deploy.auto.AutoDeployer- Throws:
com.liferay.portal.kernel.deploy.auto.AutoDeployException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfacecom.liferay.portal.kernel.deploy.auto.AutoDeployer- Specified by:
closein interfaceCloseable- Throws:
IOException
-
copyDependencyXml
- Specified by:
copyDependencyXmlin interfacecom.liferay.portal.kernel.deploy.auto.AutoDeployer- Throws:
Exception
-
copyDependencyXml
public void copyDependencyXml(String fileName, String targetDir, Map<String, String> filterMap) throws Exception- Specified by:
copyDependencyXmlin interfacecom.liferay.portal.kernel.deploy.auto.AutoDeployer- Throws:
Exception
-
copyDependencyXml
public void copyDependencyXml(String fileName, String targetDir, Map<String, String> filterMap, boolean overwrite) throws Exception- Specified by:
copyDependencyXmlin interfacecom.liferay.portal.kernel.deploy.auto.AutoDeployer- Throws:
Exception
-
copyXmls
public void copyXmls(File srcFile, String displayName, com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) throws Exception - Specified by:
copyXmlsin interfacecom.liferay.portal.kernel.deploy.auto.AutoDeployer- Throws:
Exception
-
deployDirectory
public void deployDirectory(File srcFile, String displayName, com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) throws Exception - Throws:
Exception
-
getExtraContent
public String getExtraContent(double webXmlVersion, File srcFile, String displayName) throws Exception - Throws:
Exception
-
getIgnoreFiltersContent
- Throws:
Exception
-
getPluginType
-
processPluginPackageProperties
public Map<String,String> processPluginPackageProperties(File srcFile, String displayName, com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) throws Exception - Specified by:
processPluginPackagePropertiesin interfacecom.liferay.portal.kernel.deploy.auto.AutoDeployer- Throws:
Exception
-
updateDeployDirectory
- Throws:
Exception
-