Class JiraUtils


  • public class JiraUtils
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.fasterxml.jackson.databind.ObjectMapper OBJECT_MAPPER  
    • Constructor Summary

      Constructors 
      Constructor Description
      JiraUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String encodeAsBase64​(java.io.InputStream inputStream)  
      static java.lang.String getIssueSummary​(Issue issue, boolean prefixWithKey)  
      static java.lang.String guessContentTypeFromFilename​(java.lang.String filename)  
      static java.lang.String setParameters​(java.lang.String parameterizedString, java.lang.Object... parameters)  
      static java.lang.String stripTrailingSlashes​(java.lang.String in)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • OBJECT_MAPPER

        public static final com.fasterxml.jackson.databind.ObjectMapper OBJECT_MAPPER
    • Constructor Detail

      • JiraUtils

        public JiraUtils()
    • Method Detail

      • stripTrailingSlashes

        public static java.lang.String stripTrailingSlashes​(java.lang.String in)
      • getIssueSummary

        public static java.lang.String getIssueSummary​(Issue issue,
                                                       boolean prefixWithKey)
      • setParameters

        public static java.lang.String setParameters​(java.lang.String parameterizedString,
                                                     java.lang.Object... parameters)
      • encodeAsBase64

        public static java.lang.String encodeAsBase64​(java.io.InputStream inputStream)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • guessContentTypeFromFilename

        public static java.lang.String guessContentTypeFromFilename​(java.lang.String filename)