Class ParsersListProviderImpl
- java.lang.Object
-
- com.atlassian.bamboo.warnings.parsers.ParsersListProviderImpl
-
- All Implemented Interfaces:
ParsersListProvider
@Component public class ParsersListProviderImpl extends Object implements ParsersListProvider
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.warnings.parsers.ParsersListProvider
PARSERS_LIST_FILE
-
-
Constructor Summary
Constructors Constructor Description ParsersListProviderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull com.google.common.collect.ImmutableMap<String,String>
getParsersMap()
@NotNull com.google.common.collect.ImmutableSet<String>
getParsersNames()
boolean
parserExists(@NotNull String parserName)
-
-
-
Method Detail
-
getParsersMap
@NotNull public @NotNull com.google.common.collect.ImmutableMap<String,String> getParsersMap()
- Specified by:
getParsersMap
in interfaceParsersListProvider
- Returns:
- an immutable map containing Jenkins Parsers classes names (keys) and user readable names for those classes (values)
-
getParsersNames
@NotNull public @NotNull com.google.common.collect.ImmutableSet<String> getParsersNames()
- Specified by:
getParsersNames
in interfaceParsersListProvider
- Returns:
- an immutable map containing user readable names of all Jenkins Parsers.
-
parserExists
public boolean parserExists(@NotNull @NotNull String parserName)
- Specified by:
parserExists
in interfaceParsersListProvider
- Returns:
- true if given parser is present, false otherwise
-
-