Package com.liferay.portal.verify
Class VerifyProperties
Object
com.liferay.portal.verify.VerifyProperties
- Author:
- Brian Wing Shun Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static InputStream
getPropertiesResourceAsStream
(String resourceName) protected static Properties
static void
verify()
protected static void
verifyMigratedPortalProperty
(Properties portalProperties, String oldKey, String newKey, List<String> unmigratedKeys) protected static void
verifyMigratedSystemProperty
(String oldKey, String newKey) protected static void
verifyModularizedPortalProperty
(Properties portalProperties, String oldKey, String newKey, String moduleName) protected static void
verifyModularizedSystemProperty
(Set<String> systemPropertyNames, String oldKey, String newKey, String moduleName) protected static void
verifyObsoletePortalProperty
(Properties portalProperties, String key) protected static void
protected static void
verifyRenamedPortalProperty
(Properties portalProperties, String oldKey, String newKey) protected static void
verifyRenamedSystemProperty
(String oldKey, String newKey) protected static void
-
Constructor Details
-
VerifyProperties
public VerifyProperties()
-
-
Method Details
-
verify
- Throws:
Exception
-
getPropertiesResourceAsStream
protected static InputStream getPropertiesResourceAsStream(String resourceName) throws FileNotFoundException - Throws:
FileNotFoundException
-
loadPortalProperties
-
verifyMigratedPortalProperty
protected static void verifyMigratedPortalProperty(Properties portalProperties, String oldKey, String newKey, List<String> unmigratedKeys) throws Exception - Throws:
Exception
-
verifyMigratedSystemProperty
- Throws:
Exception
-
verifyModularizedPortalProperty
protected static void verifyModularizedPortalProperty(Properties portalProperties, String oldKey, String newKey, String moduleName) throws Exception - Throws:
Exception
-
verifyModularizedSystemProperty
protected static void verifyModularizedSystemProperty(Set<String> systemPropertyNames, String oldKey, String newKey, String moduleName) throws Exception - Throws:
Exception
-
verifyObsoletePortalProperty
protected static void verifyObsoletePortalProperty(Properties portalProperties, String key) throws Exception - Throws:
Exception
-
verifyObsoleteSystemProperty
- Throws:
Exception
-
verifyPortalProperties
- Throws:
Exception
-
verifyRenamedPortalProperty
protected static void verifyRenamedPortalProperty(Properties portalProperties, String oldKey, String newKey) throws Exception - Throws:
Exception
-
verifyRenamedSystemProperty
- Throws:
Exception
-
verifySystemProperties
- Throws:
Exception
-