Package step.repositories.jira.util
Class JiraUtils
- java.lang.Object
-
- step.repositories.jira.util.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)
-
-
-
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)
-
-