|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.kernel.application.configuration.Report
org.openmdx.base.application.configuration.ConfigurationValidationReport
Report.
public class ConfigurationValidationReport
This class holds the results from a configuration verification/validation.
| Field Summary |
|---|
| Fields inherited from class org.openmdx.kernel.application.configuration.Report |
|---|
reports, success, warning |
| Constructor Summary | |
|---|---|
ConfigurationValidationReport(String name,
int majorVersion,
int minorVersion)
Deprecated. Creates a new validation report object. |
|
| Method Summary | |
|---|---|
void |
addErrorReport(String report)
Deprecated. Add an error report. |
void |
addInfoReport(String report)
Deprecated. Add an info report. |
void |
addReport(List reports)
Deprecated. |
void |
addWarningReport(String report)
Deprecated. |
int |
getMajorVersion()
Deprecated. Returns the configuration's major version. |
int |
getMinorVersion()
Deprecated. Returns the configuration's minor version. |
List |
getReports()
Deprecated. |
void |
setSucceeded(boolean succeeded)
Deprecated. Sets the configuration result to succeeded or failed. |
String |
toString()
Deprecated. Returns a string representation of the report. |
| Methods inherited from class org.openmdx.kernel.application.configuration.Report |
|---|
addAll, addError, addError, addInfo, addWarning, addWarning, getContext, getName, getVersion, hasWarning, isSuccess |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurationValidationReport(String name,
int majorVersion,
int minorVersion)
name - The name of this configurationmajorVersion - The major version of the configuration [0,1,2,..]minorVersion - The minor version of the configuration [0,1,2,..]| Method Detail |
|---|
public void setSucceeded(boolean succeeded)
succeeded - The configuration resultpublic void addErrorReport(String report)
E.g.:
public void addInfoReport(String report)
public void addWarningReport(String report)
public void addReport(List reports)
public List getReports()
public int getMajorVersion()
public int getMinorVersion()
public String toString()
toString in class Report
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||