Class BuildStatusTranslator

    • Constructor Detail

      • BuildStatusTranslator

        public BuildStatusTranslator​(@NotNull
                                     ServerExtensionHolder server)
        Deprecated.
    • Method Detail

      • translate

        @NotNull
        public List<BuildMessage1> translate​(@NotNull
                                             SRunningBuild runningBuild,
                                             @NotNull
                                             BuildMessage1 originalMessage,
                                             @NotNull
                                             ServiceMessage serviceMessage)
        Deprecated.
        Description copied from interface: ServiceMessageTranslator

        Called 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:
        translate in interface ServiceMessageTranslator
        Parameters:
        runningBuild - running build
        originalMessage - original message from which service message was created
        serviceMessage - service message
        Returns:
        a list of translated messages
      • getServiceMessageName

        @NotNull
        public String getServiceMessageName()
        Deprecated.
        Description copied from interface: ServiceMessageTranslator
        Returns name of the service message supported by this translator. Only service messages with such name will be passed to the translator.
        Specified by:
        getServiceMessageName in interface ServiceMessageTranslator
        Returns:
        see above.