public class VerifyProperties
extends Object
| Constructor and Description |
|---|
VerifyProperties() |
| Modifier and Type | Method and Description |
|---|---|
protected static InputStream |
getPropertiesResourceAsStream(String resourceName) |
protected static Properties |
loadPortalProperties() |
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 |
verifyObsoleteSystemProperty(String key) |
protected static List<String> |
verifyPortalProperties() |
protected static void |
verifyRenamedPortalProperty(Properties portalProperties,
String oldKey,
String newKey) |
protected static void |
verifyRenamedSystemProperty(String oldKey,
String newKey) |
protected static void |
verifySystemProperties() |
public static void verify()
throws Exception
Exceptionprotected static InputStream getPropertiesResourceAsStream(String resourceName)
throws FileNotFoundException
FileNotFoundExceptionprotected static Properties loadPortalProperties()
protected static void verifyMigratedPortalProperty(Properties portalProperties,
String oldKey,
String newKey,
List<String> unmigratedKeys)
throws Exception
Exceptionprotected static void verifyMigratedSystemProperty(String oldKey,
String newKey)
throws Exception
Exceptionprotected static void verifyModularizedPortalProperty(Properties portalProperties,
String oldKey,
String newKey,
String moduleName)
throws Exception
Exceptionprotected static void verifyModularizedSystemProperty(Set<String> systemPropertyNames,
String oldKey,
String newKey,
String moduleName)
throws Exception
Exceptionprotected static void verifyObsoletePortalProperty(Properties portalProperties,
String key)
throws Exception
Exceptionprotected static void verifyObsoleteSystemProperty(String key)
throws Exception
Exceptionprotected static List<String> verifyPortalProperties()
throws Exception
Exceptionprotected static void verifyRenamedPortalProperty(Properties portalProperties,
String oldKey,
String newKey)
throws Exception
Exceptionprotected static void verifyRenamedSystemProperty(String oldKey,
String newKey)
throws Exception
Exceptionprotected static void verifySystemProperties()
throws Exception
Exception