public class Convert extends Object
Constructor | Description |
---|---|
Convert() |
Modifier and Type | Method | Description |
---|---|---|
static List<NameValuePair> |
componentsToNameValuePairs(List<Component> components) |
Converts an array of ComponentModels to NameValuePairs
|
static List<NameValuePair> |
customFieldOptionsToNameValuePairs(List<CustomFieldValue> options) |
Deprecated.
|
static List<NameValuePair> |
customFieldOptionsToNameValuePairs(CustomField customField,
Locale locale) |
Returns the options sorted-
|
static String[] |
stringToArray(String input) |
|
static List<NameValuePair> |
usersToNameValuePairs(List<User> users) |
Converts an array of UserModels to NameValuePairs
|
static List<NameValuePair> |
versionsToNameValuePairs(List<Version> versions) |
Converts an array of VersionModels to NameValuePairs
|
@Deprecated public static List<NameValuePair> customFieldOptionsToNameValuePairs(List<CustomFieldValue> options)
options
- the array of CustomFieldValueModels to convertpublic static List<NameValuePair> customFieldOptionsToNameValuePairs(CustomField customField, Locale locale)
customField
- LIST custom-fieldlocale
- a locale to translate valuespublic static List<NameValuePair> usersToNameValuePairs(List<User> users)
users
- the array of UserModels to convertpublic static List<NameValuePair> componentsToNameValuePairs(List<Component> components)
options
- the array of ComponentModels to convertpublic static List<NameValuePair> versionsToNameValuePairs(List<Version> versions)
options
- the array of VersionModels to convertCopyright © 2002–2019 itracker. All rights reserved.