Interface BuildMessagesContainer
-
- All Known Implementing Classes:
InMemoryMessagesContainer
,PersistedMessagesContainer
public interface BuildMessagesContainer
Wrapper for collection ofBuildMessage1
, which- Since:
- 2020.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dispose()
After calling this method, the container is supposed to be not in use anymore, all associated resources should be released.List<BuildMessage1>
getMessages()
int
size()
-
-
-
Method Detail
-
getMessages
@NotNull List<BuildMessage1> getMessages() throws BuildMessagesContainerException
- Throws:
BuildMessagesContainerException
-
size
int size()
-
dispose
void dispose() throws BuildMessagesContainerException
After calling this method, the container is supposed to be not in use anymore, all associated resources should be released. For example, the implementation of this method, which persists messages in file, could delete corresponding file- Throws:
BuildMessagesContainerException
- if failed to release resources- Since:
- 2020.1
-
-