public class SimpleWarningCollection extends Object implements WarningCollection
Constructor and Description |
---|
SimpleWarningCollection() |
Modifier and Type | Method and Description |
---|---|
void |
addWarning(String warningMessage)
Add a warning to the collection
|
boolean |
equals(Object o) |
Collection<String> |
getWarnings()
Retrieve all the warnings
|
boolean |
hasAnyWarnings() |
int |
hashCode() |
public void addWarning(String warningMessage)
WarningCollection
Add a warning to the collection
addWarning
in interface WarningCollection
warningMessage
- to be addedpublic Collection<String> getWarnings()
WarningCollection
Retrieve all the warnings
getWarnings
in interface WarningCollection
public boolean hasAnyWarnings()
hasAnyWarnings
in interface WarningCollection
Copyright © 2002-2015 Atlassian. All Rights Reserved.