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,
com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) |
String |
getExtraContent(double webXmlVersion,
File srcFile,
String displayName) |
String |
getIgnoreFiltersContent(File srcFile) |
String |
getPluginType() |
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.AutoDeployer
com.liferay.portal.kernel.deploy.auto.AutoDeployException
public void close() throws IOException
close
in interface com.liferay.portal.kernel.deploy.auto.AutoDeployer
close
in interface Closeable
close
in interface AutoCloseable
IOException
public void copyDependencyXml(String fileName, String targetDir) throws Exception
copyDependencyXml
in interface com.liferay.portal.kernel.deploy.auto.AutoDeployer
Exception
public void copyDependencyXml(String fileName, String targetDir, Map<String,String> filterMap) throws Exception
copyDependencyXml
in interface com.liferay.portal.kernel.deploy.auto.AutoDeployer
Exception
public void copyDependencyXml(String fileName, String targetDir, Map<String,String> filterMap, boolean overwrite) throws Exception
copyDependencyXml
in interface com.liferay.portal.kernel.deploy.auto.AutoDeployer
Exception
public void copyXmls(File srcFile, String displayName, com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) throws Exception
copyXmls
in interface com.liferay.portal.kernel.deploy.auto.AutoDeployer
Exception
public void deployDirectory(File srcFile, String displayName, com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) throws Exception
Exception
public String getExtraContent(double webXmlVersion, File srcFile, String displayName) throws Exception
Exception
public String getIgnoreFiltersContent(File srcFile) throws Exception
Exception
public String getPluginType()
public 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.AutoDeployer
Exception
public void updateDeployDirectory(File srcFile) throws Exception
Exception