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 InputStreamgetPropertiesResourceAsStream(String resourceName) protected static Propertiesstatic voidverify()protected static voidverifyMigratedPortalProperty(Properties portalProperties, String oldKey, String newKey, List<String> unmigratedKeys) protected static voidverifyMigratedSystemProperty(String oldKey, String newKey) protected static voidverifyModularizedPortalProperty(Properties portalProperties, String oldKey, String newKey, String moduleName) protected static voidverifyModularizedSystemProperty(Set<String> systemPropertyNames, String oldKey, String newKey, String moduleName) protected static voidverifyObsoletePortalProperty(Properties portalProperties, String key) protected static voidprotected static voidverifyRenamedPortalProperty(Properties portalProperties, String oldKey, String newKey) protected static voidverifyRenamedSystemProperty(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
-