com.atlassian.jira.issue.customfields.impl
Class URLCFType
java.lang.Object
com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType<T,T>
com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType<String>
com.atlassian.jira.issue.customfields.impl.GenericTextCFType
com.atlassian.jira.issue.customfields.impl.URLCFType
- All Implemented Interfaces:
- ProjectImportableCustomField, CustomFieldType<String,String>, SortableCustomField<String>, RestAwareCustomFieldType, RestCustomFieldTypeOperations
public class URLCFType
- extends GenericTextCFType
Methods inherited from class com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType |
createValue, getChangelogValue, getDefaultValue, getJsonDefaultValue, getStringValueFromCustomFieldParams, getValueFromCustomFieldParams, getValueFromIssue, remove, setDefaultValue, updateValue, validateFromParams |
Methods inherited from class com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType |
assertObjectImplementsType, availableForBulkEdit, getChangelogString, getConfigurationItemTypes, getDescription, getDescriptor, getI18nBean, getKey, getName, getRelatedIndexers, getVelocityParameters, getVelocityParameters, init, isRenderable, valuesEqual |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLCFType
public URLCFType(CustomFieldValuePersister customFieldValuePersister,
GenericConfigManager genericConfigManager)
getSingularObjectFromString
public String getSingularObjectFromString(String string)
throws FieldValidationException
- Description copied from interface:
CustomFieldType
- Returns a Singular Object, given the string value as passed by the presentation tier.
Throws FieldValidationException if the string is an invalid representation of the Object.
- Specified by:
getSingularObjectFromString
in interface CustomFieldType<String,String>
- Overrides:
getSingularObjectFromString
in class GenericTextCFType
- Parameters:
string
- the String
- Returns:
- singularObject instance
- Throws:
FieldValidationException
- if the string is an invalid representation of the Object.
accept
public Object accept(AbstractCustomFieldType.VisitorBase visitor)
- Overrides:
accept
in class GenericTextCFType
Copyright © 2002-2014 Atlassian. All Rights Reserved.