|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.validation.wbi.extensions.EnterpriseValidator
com.ibm.websphere.validation.wbi.extensions.CMMValidator
public class CMMValidator
Field Summary |
---|
Fields inherited from class com.ibm.websphere.validation.wbi.extensions.EnterpriseValidator |
---|
archive, reporter |
Constructor Summary | |
---|---|
CMMValidator(org.eclipse.wst.validation.internal.provisional.core.IReporter rep,
org.eclipse.jst.j2ee.commonarchivecore.internal.Archive archive)
This is the method which performs the validation on the MOF model. |
Method Summary | |
---|---|
void |
cleanup()
Perform any resource cleanup once validation is complete. |
void |
validate()
|
Methods inherited from class com.ibm.websphere.validation.wbi.extensions.EnterpriseValidator |
---|
addError, addError, addMessage, addMessage, addWarning, addWarning, cleanup, createMessage, createMessage, createMessage, createMessage, getArchive, getReporter, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CMMValidator(org.eclipse.wst.validation.internal.provisional.core.IReporter rep, org.eclipse.jst.j2ee.commonarchivecore.internal.Archive archive)
helper
and reporter
may not be null. changedFiles
may be null, if a full
build is desired.
helper
loads a RefObject. The RefObject is the root of the
MOF model about to be validated. When this object is traversed,
you can reach every element in the MOF model which needs to be validated.
reporter
is an instance of an IReporter interface, which is used for interaction with the user.
changedFiles
is an array of file names which have changed since the last validation.
If changedFiles
is null, or if it is an empty array, then a full build
is performed. Otherwise, validation on just the files listed in the Vector is performed.
Method Detail |
---|
public void cleanup()
public void validate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |