public class

SimpleWarningCollection

extends Object
implements WarningCollection
java.lang.Object
   ↳ com.atlassian.jira.util.SimpleWarningCollection

Class Overview

A simple implementation of the warning collection interface

Summary

Public Constructors
SimpleWarningCollection()
Public Methods
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()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.util.WarningCollection

Public Constructors

public SimpleWarningCollection ()

Public Methods

public void addWarning (String warningMessage)

Add a warning to the collection

Parameters
warningMessage to be added

public boolean equals (Object o)

public Collection<String> getWarnings ()

Retrieve all the warnings

Returns
  • all warnings

public boolean hasAnyWarnings ()

public int hashCode ()