Package com.polarion.alm.builder.model
Interface IBuildEvents
- All Superinterfaces:
IChangeGenerator,IChangeListener,IHasCustomValues,IHasValues,IStructure
List of build events.
- Version:
- $Revision$ $Date$
- Author:
- Stepan Roh, Polarion Software
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEvent(IBuildEvent event, boolean updateCounters) Add event to the list.intNumber of errors.Reported events.intNumber of fatal errors.intNumber of warnings.voidincErrorCount(int count) Increase number of errors.voidincFatalCount(int count) Increase number of fatal errors.voidincWarnCount(int count) Increase number of warnings.voidsetErrorCount(int count) Set number of errors.voidsetFatalCount(int count) Set number of fatal errors.voidsetWarnCount(int count) Set number of warnings.Methods inherited from interface com.polarion.platform.persistence.model.IChangeGenerator
setChangeOwnerMethods inherited from interface com.polarion.platform.persistence.model.IChangeListener
markChangedMethods inherited from interface com.polarion.platform.persistence.model.IHasCustomValues
getCustomField, getCustomFieldPrototype, getCustomFieldsList, setCustomFieldMethods inherited from interface com.polarion.platform.persistence.model.IStructure
getEnumeration, getEnumerationOptionForField, getEnumerationTypeForField, getPrototype, getValue, isModified, isReadOnly, isReadOnly, setValue
-
Field Details
-
Method Details
-
getWarnCount
int getWarnCount()Number of warnings.- Returns:
- number of warnings
-
getErrorCount
int getErrorCount()Number of errors.- Returns:
- number of errors
-
getFatalCount
int getFatalCount()Number of fatal errors.- Returns:
- number of fatal errors
-
getEvents
List getEvents()Reported events.Note that normally this does not contain other events than errors and fatal errors.
- Returns:
ListofIBuildEvents (notnull)
-
setWarnCount
void setWarnCount(int count) Set number of warnings.- Parameters:
count- number of warnings
-
setErrorCount
void setErrorCount(int count) Set number of errors.- Parameters:
count- number of errors
-
setFatalCount
void setFatalCount(int count) Set number of fatal errors.- Parameters:
count- number of fatal errors
-
addEvent
Add event to the list.The event is always added regardless of its severity (no filtering here).
- Parameters:
event- eventupdateCounters-trueif counters should be updated- Throws:
IllegalArgumentException- ifeventisnull
-
incWarnCount
void incWarnCount(int count) Increase number of warnings.- Parameters:
count- number of warnings
-
incErrorCount
void incErrorCount(int count) Increase number of errors.- Parameters:
count- number of errors
-
incFatalCount
void incFatalCount(int count) Increase number of fatal errors.- Parameters:
count- number of fatal errors
-