Interface BuildLogTail

    • Method Detail

      • getBuildId

        String getBuildId()
        Returns:
        id of build which is presented by this log tail
      • getLastMessages

        @NotNull
        List<BuildMessage1> getLastMessages()
        Returns latest messages in reverse order. So last message available as getLastMessages().iterator().next();
      • getLastMessages

        @NotNull
        List<BuildMessage1> getLastMessages​(@NotNull
                                            String flowId)
        May be empty.
        Parameters:
        flowId - id of the flow for which messages must be returned
        Returns:
        list of messages corresponding to specified flowId
      • getMaxSize

        int getMaxSize()
        Returns:
        maximum tail size, which can be obtained via #getLastMessages