org.cert.cc.jira
Interface CustomFieldFactory

All Known Implementing Classes:
CustomFieldFactoryImpl, MockCustomFieldFactory

public interface CustomFieldFactory

CustomFieldFactory handles JIRA Custom Fields

© 2012 Carnegie Mellon University

Author:
Steve Scholnick

Method Summary
 boolean fieldExistsByName(String name)
          Returns if the field exists by name
 CustomField getCustomField(String name)
          Returns the custom field itself
 String updateCustomFieldOnIssue(CustomField cf, MutableIssue issue, String value)
          This will correctly set a single custom value field on a mutable issue that has not been persisted yet.
 

Method Detail

updateCustomFieldOnIssue

String updateCustomFieldOnIssue(CustomField cf,
                                MutableIssue issue,
                                String value)
This will correctly set a single custom value field on a mutable issue that has not been persisted yet. Primary use for this method would be during creation of a brand new issue with custom fields.

Parameters:
cf - - {@link CustomField)
issue - - MutableIssue
value - - String value to put into the custom field.

fieldExistsByName

boolean fieldExistsByName(String name)
Returns if the field exists by name


getCustomField

CustomField getCustomField(String name)
Returns the custom field itself



Copyright © 2012 Carnegie Mellon University