Package b4j.core

Interface BugzillaObject

All Known Subinterfaces:
Attachment, Classification, Comment, Component, Issue, IssueLink, IssueType, MetaInformation, Priority, Project, Resolution, ServerInfo, Severity, Status, Team, User, Version
All Known Implementing Classes:
AbstractBugzillaObject, BugzillaComponent, BugzillaIssueType, BugzillaPriority, BugzillaProject, BugzillaResolution, BugzillaSeverity, BugzillaStatus, BugzillaUser, BugzillaVersion, DefaultAttachment, DefaultClassification, DefaultComment, DefaultIssue, DefaultLink, DefaultMetaInformation, DefaultServerInfo, DefaultTeam, JiraComponent, JiraIssueType, JiraPriority, JiraProject, JiraResolution, JiraSeverity, JiraStatus, JiraUser, JiraVersion

public interface BugzillaObject
Super interface for all other interfaces.
Since:
2.0
Author:
ralph
  • Method Summary

    Modifier and Type Method Description
    java.lang.Object get​(java.lang.String key)
    Returns value of a field.
    int getCustomFieldCount()
    Returns the number of custom fields.
    java.lang.Iterable<java.lang.String> getCustomFieldNames()
    Returns the names of all custom fields.
    void set​(java.lang.String key, java.lang.Object value)
    Sets a custom field value.
  • Method Details

    • set

      void set​(java.lang.String key, java.lang.Object value)
      Sets a custom field value. Setting a value to null effectively deletes the field.

      Notice to implementors: This method is for internal use only.

      Parameters:
      key - - name of field
      value - - value of field
    • get

      java.lang.Object get​(java.lang.String key)
      Returns value of a field.
      Parameters:
      key - - name of field
      Returns:
      value or null if not set.
    • getCustomFieldNames

      java.lang.Iterable<java.lang.String> getCustomFieldNames()
      Returns the names of all custom fields.
      Returns:
      iterator of customized field names
    • getCustomFieldCount

      int getCustomFieldCount()
      Returns the number of custom fields.
      Returns:
      number customized field names