org.apache.openejb.config
Class ValidationContext
java.lang.Object
org.apache.openejb.config.ValidationContext
- All Implemented Interfaces:
- ValidationResults
public class ValidationContext
- extends Object
- implements ValidationResults
- Version:
- $Rev: 602704 $ $Date: 2007-12-09 18:58:22 +0100 (So, 09. Dez 2007) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidationContext
public ValidationContext(Class<? extends DeploymentModule> moduleType,
String jarPath)
fail
public void fail(String component,
String key,
Object... details)
warn
public void warn(String component,
String key,
Object... details)
error
public void error(String component,
String key,
Object... details)
addWarning
public void addWarning(ValidationWarning warning)
addFailure
public void addFailure(ValidationFailure failure)
addError
public void addError(ValidationError error)
getFailures
public ValidationFailure[] getFailures()
- Specified by:
getFailures
in interface ValidationResults
getWarnings
public ValidationWarning[] getWarnings()
- Specified by:
getWarnings
in interface ValidationResults
getErrors
public ValidationError[] getErrors()
- Specified by:
getErrors
in interface ValidationResults
hasWarnings
public boolean hasWarnings()
- Specified by:
hasWarnings
in interface ValidationResults
hasFailures
public boolean hasFailures()
- Specified by:
hasFailures
in interface ValidationResults
hasErrors
public boolean hasErrors()
- Specified by:
hasErrors
in interface ValidationResults
getJarPath
public String getJarPath()
- Specified by:
getJarPath
in interface ValidationResults
getModuleType
public String getModuleType()
- Specified by:
getModuleType
in interface ValidationResults
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.