public class BaseAutoDeployer
extends Object
implements com.liferay.portal.kernel.deploy.auto.AutoDeployer
| Modifier and Type | Field and Description |
|---|---|
protected String |
auiTaglibDTD |
static String |
DEPLOY_TO_PREFIX |
protected String |
portletExtTaglibDTD |
protected String |
portletTaglibDTD |
protected String |
securityTaglibDTD |
protected Set<Path> |
tempDirPaths |
protected String |
themeTaglibDTD |
protected String |
uiTaglibDTD |
protected String |
utilTaglibDTD |
| Constructor and Description |
|---|
BaseAutoDeployer(String pluginType) |
| Modifier and Type | Method and Description |
|---|---|
int |
autoDeploy(com.liferay.portal.kernel.deploy.auto.context.AutoDeploymentContext autoDeploymentContext) |
void |
close() |
void |
copyDependencyXml(String fileName,
String targetDir) |
void |
copyDependencyXml(String fileName,
String targetDir,
Map<String,String> filterMap) |
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,
boolean override,
com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) |
String |
getExtraContent(double webXmlVersion,
File srcFile,
String displayName) |
String |
getExtraFiltersContent(double webXmlVersion,
File srcFile) |
String |
getIgnoreFiltersContent(File srcFile) |
String |
getPluginType() |
String |
getServletContextIncludeFiltersContent(double webXmlVersion,
File srcFile) |
String |
getSpeedFiltersContent(File srcFile) |
Map<String,String> |
processPluginPackageProperties(File srcFile,
String displayName,
com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) |
void |
updateDeployDirectory(File srcFile) |
public static final String DEPLOY_TO_PREFIX
protected String auiTaglibDTD
protected String portletExtTaglibDTD
protected String portletTaglibDTD
protected String securityTaglibDTD
protected final Set<Path> tempDirPaths
protected String themeTaglibDTD
protected String uiTaglibDTD
protected String utilTaglibDTD
public int autoDeploy(com.liferay.portal.kernel.deploy.auto.context.AutoDeploymentContext autoDeploymentContext)
throws com.liferay.portal.kernel.deploy.auto.AutoDeployException
autoDeploy in interface com.liferay.portal.kernel.deploy.auto.AutoDeployercom.liferay.portal.kernel.deploy.auto.AutoDeployExceptionpublic void close()
throws IOException
close in interface com.liferay.portal.kernel.deploy.auto.AutoDeployerclose in interface Closeableclose in interface AutoCloseableIOExceptionpublic void copyDependencyXml(String fileName,
String targetDir)
throws Exception
copyDependencyXml in interface com.liferay.portal.kernel.deploy.auto.AutoDeployerExceptionpublic void copyDependencyXml(String fileName,
String targetDir,
Map<String,String> filterMap)
throws Exception
copyDependencyXml in interface com.liferay.portal.kernel.deploy.auto.AutoDeployerExceptionpublic void copyDependencyXml(String fileName,
String targetDir,
Map<String,String> filterMap,
boolean overwrite)
throws Exception
copyDependencyXml in interface com.liferay.portal.kernel.deploy.auto.AutoDeployerExceptionpublic void copyXmls(File srcFile,
String displayName,
com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
throws Exception
copyXmls in interface com.liferay.portal.kernel.deploy.auto.AutoDeployerExceptionpublic void deployDirectory(File srcFile,
String displayName,
boolean override,
com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
throws Exception
Exceptionpublic String getExtraContent(double webXmlVersion,
File srcFile,
String displayName)
throws Exception
Exceptionpublic String getExtraFiltersContent(double webXmlVersion,
File srcFile)
throws Exception
Exceptionpublic String getIgnoreFiltersContent(File srcFile)
throws Exception
Exceptionpublic String getPluginType()
public String getServletContextIncludeFiltersContent(double webXmlVersion,
File srcFile)
throws Exception
Exceptionpublic String getSpeedFiltersContent(File srcFile)
throws Exception
Exceptionpublic Map<String,String> processPluginPackageProperties(File srcFile,
String displayName,
com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
throws Exception
processPluginPackageProperties in interface com.liferay.portal.kernel.deploy.auto.AutoDeployerExceptionpublic void updateDeployDirectory(File srcFile)
throws Exception
Exception