|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.maven.j2ee.ValidationStatusListener
A ValidationListener that tracks events and will provide a true/false
response about the status of the validation.
| Constructor Summary | |
ValidationStatusListener()
Creates a new instance of ValidationStatusListener |
|
| Method Summary | |
boolean |
isEnded()
Has validation ended? |
boolean |
isError()
Has a validation error occurred? |
boolean |
isInformation()
Gets whether an info message has been issued. |
boolean |
isStarted()
Has validation started? |
boolean |
isWarning()
Has a validation warning occurred? |
void |
setInformation(boolean information)
Sets whether an info message has been issued. |
void |
validationEnded(ValidationEvent event)
Called when validation ends. |
void |
validationError(ValidationEvent event)
Called when a validation error occurs. |
void |
validationInformation(ValidationEvent event)
Called when validation info messages are issued. |
void |
validationStarted(ValidationEvent event)
Called when validation starts. |
void |
validationWarning(ValidationEvent event)
Called when a validation warning occurs. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ValidationStatusListener()
| Method Detail |
public void validationError(ValidationEvent event)
error
property to true.
validationError in interface ValidationListenerevent - a ValidationEventpublic void validationWarning(ValidationEvent event)
warning property to true.
- Specified by:
validationWarning in interface ValidationListener
- Parameters:
event - a ValidationEvent
public void validationInformation(ValidationEvent event)
information property to true.
- Specified by:
validationInformation in interface ValidationListener
- Parameters:
event - a ValidationEvent
public void validationStarted(ValidationEvent event)
started property to
true
validationStarted in interface ValidationListenerevent - a ValidationEventpublic void validationEnded(ValidationEvent event)
ended property to
true
validationEnded in interface ValidationListenerevent - a ValidationEventpublic boolean isEnded()
public boolean isError()
public boolean isStarted()
public boolean isWarning()
public boolean isInformation()
public void setInformation(boolean information)
information - New value of property information.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||