Class TruncatingCommentUpdater

  • All Implemented Interfaces:
    java.util.function.Function<java.lang.String,​java.lang.Object>

    public class TruncatingCommentUpdater
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object apply​(java.lang.String commentUpdateText)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • TruncatingCommentUpdater

        public TruncatingCommentUpdater​(CommentService commentService,
                                        com.xebialabs.xlrelease.domain.Task task,
                                        int maxCommentSize)
    • Method Detail

      • apply

        public java.lang.Object apply​(java.lang.String commentUpdateText)
        Specified by:
        apply in interface java.util.function.Function<java.lang.String,​java.lang.Object>