public final class ProjectProblemsProviderSupport extends Object
provider of project metadata problems
.
This class is thread-safe.
Modifier and Type | Class and Description |
---|---|
static interface |
ProjectProblemsProviderSupport.ProblemsCollector
Collector of current project problems.
|
Constructor and Description |
---|
ProjectProblemsProviderSupport(Object source)
Create a new
ProjectProblemsProviderSupport . |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Add a listener to the listener list.
|
void |
fireProblemsChange()
Fire
project problems property change event to all registered listeners. |
Collection<? extends ProjectProblemsProvider.ProjectProblem> |
getProblems(ProjectProblemsProviderSupport.ProblemsCollector problemsCollector)
Get project problems using the given
problems collector . |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Remove a listener from the listener list.
|
public void addPropertyChangeListener(@NonNull PropertyChangeListener listener)
listener
- PropertyChangeListener
to be added, never null
PropertyChangeSupport.addPropertyChangeListener(PropertyChangeListener)
public void removePropertyChangeListener(@NonNull PropertyChangeListener listener)
listener
- PropertyChangeListener
to be removed, never null
PropertyChangeSupport.removePropertyChangeListener(PropertyChangeListener)
@NonNull public Collection<? extends ProjectProblemsProvider.ProjectProblem> getProblems(@NonNull ProjectProblemsProviderSupport.ProblemsCollector problemsCollector)
problems collector
.problemsCollector
- problems collector
to be used, never null
null
public void fireProblemsChange()
project problems property
change event to all registered listeners.