@Internal public interface

StringConverter

com.atlassian.jira.issue.customfields.converters.StringConverter
Known Indirect Subclasses

@Internal

This interface is an internal implementation detail and will change without notice.

Clients that depend on @Internal classes and interfaces can not expect to be compatible with any version other than the version they were compiled against (even minor version and milestone releases may break binary compatibility with respect to @Internal elements).

Class Overview

Converts Strings for storage and retrieval of Custom Field values. This really doesn't do much at all because we already have Strings, but is included for consistency with the other Converters.

Summary

Public Methods
String getObject(String stringValue)
This method is a no-op, but I guess it was included for consistency with other Converters.
String getString(String value)
Just turns null into an empty string.

Public Methods

public String getObject (String stringValue)

This method is a no-op, but I guess it was included for consistency with other Converters.

Parameters
stringValue the stringValue to do absolutely nothing with, and just return as is.
Returns
  • The exact same object that you gave me.

public String getString (String value)

Just turns null into an empty string.

Parameters
value The String value to check for null.
Returns
  • Empty String if the passed value is null, else returns the original value.