|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.philemonworks.selfdiagnose.Check
public class Check
Check is a Factory to the creation of all DiagnosticTasks of type "Check".
Method Summary | |
---|---|
static String |
classLoadable(String className)
|
static String |
dataSourceName(String dataSourceName)
|
static String |
directory(String pathName)
|
static String |
directory(String pathName,
boolean mustBeWriteable)
|
static String |
fileContainsString(String fileName,
String substring)
|
static String |
jndiBinding(String namingServerURL,
String initalContextFactory,
String jndiName,
String valueClassName)
Register a task that checks that naming server has a binding with the correct type. |
static String |
nlsKey(String key)
|
static String |
property(String propertiesResourceName,
String key)
|
static String |
propertyIsEmailAddress(String resourceName,
String key)
|
static String |
propertyMatches(String resourceName,
String key,
String pattern)
Register a task that checks that the value of the property at this key matches a pattern. |
static String |
resourceBundleKey(String name,
String key)
|
static String |
resourceName(String resourceName)
|
static String |
url(String urlSpec)
|
static String |
validURL(String urlSpec)
Register a task that checks that the url is syntactically correct. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String classLoadable(String className)
className
-
public static String dataSourceName(String dataSourceName)
dataSourceName
-
public static String directory(String pathName)
pathName
-
public static String directory(String pathName, boolean mustBeWriteable)
pathName
- mustBeWriteable
-
public static String fileContainsString(String fileName, String substring)
fileName
- substring
-
public static String jndiBinding(String namingServerURL, String initalContextFactory, String jndiName, String valueClassName)
namingServerURL
- StringinitalContextFactory
- StringjndiName
- StringvalueClassName
- String
public static String nlsKey(String key)
key
-
public static String property(String propertiesResourceName, String key)
propertiesResourceName
- key
-
public static String propertyIsEmailAddress(String resourceName, String key)
resourceName
- key
-
public static String propertyMatches(String resourceName, String key, String pattern)
resourceName
- Stringkey
- Stringpattern
- String
public static String resourceBundleKey(String name, String key)
name
- key
-
public static String resourceName(String resourceName)
resourceName
-
public static String url(String urlSpec)
urlSpec
-
public static String validURL(String urlSpec)
urlSpec
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |