Class FlowStartedMessageTranslator
- java.lang.Object
 - 
- jetbrains.buildServer.messages.serviceMessages.FlowStartedMessageTranslator
 
 
- 
- All Implemented Interfaces:
 ServiceMessageTranslator,ServerExtension,TeamCityExtension
public class FlowStartedMessageTranslator extends Object implements ServiceMessageTranslator
##teamcity[flowStarted flowId=''] and ##teamcity[flowStarted flowId=' ' parent=' ']  
- 
- 
Constructor Summary
Constructors Constructor Description FlowStartedMessageTranslator() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetServiceMessageName()Returns name of the service message supported by this translator.List<BuildMessage1>translate(SRunningBuild runningBuild, BuildMessage1 originalMessage, ServiceMessage serviceMessage)Called to translate service message to a number of usual messages. 
 - 
 
- 
- 
Method Detail
- 
translate
@NotNull public List<BuildMessage1> translate(@NotNull SRunningBuild runningBuild, @NotNull BuildMessage1 originalMessage, @NotNull ServiceMessage serviceMessage)
Description copied from interface:ServiceMessageTranslatorCalled to translate service message to a number of usual messages.
Note: no attempts should be made to use the build log from the running build to log some messages
SBuild.getBuildLog(), instead the translator should return all the messages which should be inserted into the build log instead of the processed service message.- Specified by:
 translatein interfaceServiceMessageTranslator- Parameters:
 runningBuild- running buildoriginalMessage- original message from which service message was createdserviceMessage- service message- Returns:
 - a list of translated messages
 
 
- 
getServiceMessageName
@NotNull public String getServiceMessageName()
Description copied from interface:ServiceMessageTranslatorReturns name of the service message supported by this translator. Only service messages with such name will be passed to the translator.- Specified by:
 getServiceMessageNamein interfaceServiceMessageTranslator- Returns:
 - see above.
 
 
 - 
 
 -