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 String
static final String
protected String
protected String
protected String
protected String
protected String
protected String
Fields 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 TypeMethodDescriptionint
autoDeploy
(com.liferay.portal.kernel.deploy.auto.context.AutoDeploymentContext autoDeploymentContext) void
close()
void
copyDependencyXml
(String fileName, String targetDir) void
void
copyDependencyXml
(String fileName, String targetDir, Map<String, String> filterMap, boolean overwrite) void
copyXmls
(File srcFile, String displayName, com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) void
deployDirectory
(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) void
updateDeployDirectory
(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:
autoDeploy
in interfacecom.liferay.portal.kernel.deploy.auto.AutoDeployer
- Throws:
com.liferay.portal.kernel.deploy.auto.AutoDeployException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfacecom.liferay.portal.kernel.deploy.auto.AutoDeployer
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
copyDependencyXml
- Specified by:
copyDependencyXml
in 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:
copyDependencyXml
in 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:
copyDependencyXml
in 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:
copyXmls
in 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:
processPluginPackageProperties
in interfacecom.liferay.portal.kernel.deploy.auto.AutoDeployer
- Throws:
Exception
-
updateDeployDirectory
- Throws:
Exception
-