public class PluginAutoDeployListenerHelper
extends Object
Constructor and Description |
---|
PluginAutoDeployListenerHelper(File file) |
Modifier and Type | Method and Description |
---|---|
boolean |
isExtPlugin() |
boolean |
isHookPlugin() |
protected boolean |
isJarFile() |
boolean |
isLayoutTemplatePlugin() |
boolean |
isLiferayPackage() |
boolean |
isMatchingFile(String checkXmlFile) |
boolean |
isMatchingFile(String checkXmlFile,
boolean checkFileExtension) |
boolean |
isMatchingFileExtension(String... extensions) |
boolean |
isPortletPlugin() |
boolean |
isThemePlugin() |
boolean |
isWarOrZip() |
boolean |
isWebPlugin() |
public boolean isExtPlugin()
public boolean isHookPlugin() throws com.liferay.portal.kernel.deploy.auto.AutoDeployException
com.liferay.portal.kernel.deploy.auto.AutoDeployException
public boolean isLayoutTemplatePlugin() throws com.liferay.portal.kernel.deploy.auto.AutoDeployException
com.liferay.portal.kernel.deploy.auto.AutoDeployException
public boolean isLiferayPackage()
public boolean isMatchingFile(String checkXmlFile) throws com.liferay.portal.kernel.deploy.auto.AutoDeployException
com.liferay.portal.kernel.deploy.auto.AutoDeployException
public boolean isMatchingFile(String checkXmlFile, boolean checkFileExtension) throws com.liferay.portal.kernel.deploy.auto.AutoDeployException
com.liferay.portal.kernel.deploy.auto.AutoDeployException
public boolean isMatchingFileExtension(String... extensions)
public boolean isPortletPlugin() throws com.liferay.portal.kernel.deploy.auto.AutoDeployException
com.liferay.portal.kernel.deploy.auto.AutoDeployException
public boolean isThemePlugin() throws com.liferay.portal.kernel.deploy.auto.AutoDeployException
com.liferay.portal.kernel.deploy.auto.AutoDeployException
public boolean isWarOrZip()
public boolean isWebPlugin() throws com.liferay.portal.kernel.deploy.auto.AutoDeployException
com.liferay.portal.kernel.deploy.auto.AutoDeployException
protected boolean isJarFile()