Class ServiceMessagesParser
- java.lang.Object
-
- jetbrains.buildServer.messages.serviceMessages.ServiceMessagesParser
-
public class ServiceMessagesParser extends java.lang.Object
Service messages parser.- Since:
- 2019.2
-
-
Constructor Summary
Constructors Constructor Description ServiceMessagesParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
parse(java.lang.String text, ServiceMessageParserCallback parserCallback)
Parses the specified text and reports results to the provided callback.void
setValidateRequiredAttributes(boolean validateRequiredAttributes)
Whether to check for service messages required attributes during parsing or not.
-
-
-
Method Detail
-
setValidateRequiredAttributes
public void setValidateRequiredAttributes(boolean validateRequiredAttributes)
Whether to check for service messages required attributes during parsing or not.- Parameters:
validateRequiredAttributes
- true to check for required attributes presence (default)
-
parse
public void parse(@NotNull java.lang.String text, @NotNull ServiceMessageParserCallback parserCallback)
Parses the specified text and reports results to the provided callback.- Parameters:
text
- a text to parseparserCallback
- a callback where parsing results are reported
-
-