| Modifier and Type | Class and Description |
|---|---|
class |
DefaultIssue.DefaultAttachment
An attachment definition.
|
static class |
DefaultIssue.DefaultLink
Describes a link to another issue
|
class |
DefaultIssue.DefaultLongDescription
A long description entry.
|
| Modifier and Type | Field and Description |
|---|---|
static SimpleDateFormat |
DATE
Formatter and Parser for XML-retrieved dates from Bugzilla.
|
static SimpleDateFormat |
DATETIME_WITH_SEC
Formatter and Parser for XML-retrieved dates from Bugzilla.
|
static SimpleDateFormat |
DATETIME_WITH_SEC_TZ
Formatter and Parser for XML-retrieved dates from Bugzilla.
|
static SimpleDateFormat |
DATETIME_WITHOUT_SEC
Formatter and Parser for XML-retrieved dates from Bugzilla.
|
static String[] |
SEVERITIES
The standard severities used in Bugzilla.
|
| Constructor and Description |
|---|
DefaultIssue()
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAllCc(Collection<? extends String> c)
Adds multiple emails to the CC list.
|
void |
addAllCustomFields(Map<String,List<String>> p)
Adds all custom fields.
|
void |
addAllCustomFields(String key,
List<String> values)
Adds all values to a custom field.
|
Attachment |
addAttachment()
Creates and adds an attachment to this bug record.
|
boolean |
addCc(String e)
Adds a email to the CC list.
|
void |
addChild(IssueLink l) |
void |
addLink(IssueLink l) |
LongDescription |
addLongDescription()
Creates a new and empty long description text.
|
void |
clearAttachments()
Removes all attachments.
|
void |
clearCc()
Clears the CC list.
|
void |
clearCustomFields()
Clears all custom fields.
|
void |
clearLongDescriptions()
Removes all long description texts.
|
double |
getActualTime()
Returns the actual time in hours.
|
String |
getAlias()
Returns the alias name of the bug.
|
String |
getAssignee()
Returns the assignee's ID of this bug.
|
String |
getAssigneeName()
Returns the assignee's name of this bug.
|
String |
getAssigneeTeam()
Returns the assignee's team of this bug.
|
Attachment |
getAttachment(long id)
returns the attachment with the given id.
|
int |
getAttachmentCount()
Returns the number of attachments.
|
Iterator<Attachment> |
getAttachmentIterator()
Returns all attachments.
|
long |
getBlocked() |
String |
getBugzillaUri()
Returns the URI representing the Bugzilla instance this
bug was retrieved from.
|
String |
getBugzillaVersion()
Returns the version of Bugzilla this bug was retrieved from.
|
int |
getCcCount()
Returns the number of CCs.
|
Iterator<String> |
getCcIterator()
Returns all CCs of this bug.
|
int |
getChildCount() |
List<IssueLink> |
getChildren() |
String |
getClassification()
Returns the classification name for this bug.
|
String |
getComponent()
Returns the component name for this bug.
|
Date |
getCreationTimestamp()
Returns the timestamp when this bug was created.
|
List<String> |
getCustomField(String key)
Returns a list of all values of a field (or null)
|
int |
getCustomFieldCount()
Returns the number of custom fields.
|
Iterator<String> |
getCustomFieldNames()
Returns the names of all custom fields.
|
String |
getCustomFieldString(String key)
Returns first value of a field (or null)
|
String |
getCustomFieldString(String key,
int idx)
Returns the n-th value of a field (or null)
|
Date |
getDeadline()
Returns the deadline time.
|
Date |
getDeltaTimestamp()
Returns the timestamp when this bug was last changed.
|
double |
getEstimatedTime()
Returns the estimated time in hours.
|
String |
getFileLocation()
Returns the file location given in this bug.
|
String |
getId()
Returns the Bugzilla bug ID.
|
String |
getLink()
Returns the link for this bug.
|
int |
getLinkCount() |
List<IssueLink> |
getLinks() |
LongDescription |
getLongDescription(String id)
Returns the comment with given id.
|
int |
getLongDescriptionCount()
Returns the number of long description texts.
|
Iterator<LongDescription> |
getLongDescriptionIterator()
Returns all long description records.
|
String |
getOpSys()
Returns the operating system for this bug.
|
String |
getParentId()
Returns the parent id
|
String |
getPriority()
Returns the priority of this bug.
|
String |
getProduct()
Returns the product name for this bug.
|
String |
getQaContact()
Returns the QA contact.
|
double |
getRemainingTime()
Returns the remaining time in hours.
|
String |
getReporter()
Returns the reporter of this bug.
|
String |
getReporterName()
Returns the reporter's name of this bug.
|
String |
getReporterTeam()
Returns the reporter's team of this bug.
|
String |
getRepPlatform()
Returns the reporter's platform.
|
String |
getResolution()
Returns the resolution status of this bug.
|
String |
getSeverity()
Returns the severity for this bug.
|
String |
getShortDescription()
Returns the summary of the nug.
|
String |
getStatus()
Returns the status of this bug.
|
String |
getTargetMilestone()
Returns the target milestone.
|
long |
getType()
Returns the Bugzilla ID of the classification.
|
String |
getTypeName() |
String |
getVersion()
Returns the version of the product for this bug.
|
String |
getWhiteboard()
Returns the whiteboard status.
|
boolean |
isCancelled()
Tells whether this bug can be regarded as cancelled.
|
boolean |
isCclistAccessible() |
boolean |
isClosed()
Returns whether this bug can be regarded as closed.
|
boolean |
isDuplicate()
Tells whether this bug is a duplicate.
|
boolean |
isEverConfirmed() |
boolean |
isInProgress()
Returns whether a bug must be regarded as in progress.
|
boolean |
isOpen()
Returns whether a bug must be regarded as still open.
|
boolean |
isReporterAccessible() |
boolean |
isResolved()
Returns whether this bug can be regarded as closed.
|
boolean |
removeAllCc(Collection<?> c)
Removes all given CCs from this bug.
|
boolean |
removeAttachment(Attachment o)
Removes an attachment.
|
boolean |
removeCc(Object o)
Removes a CC.
|
void |
removeCustomField(String key,
String value)
Removes a value from a custom field.
|
boolean |
removeLongDescription(LongDescription o)
Removes a specific long description record.
|
void |
removeParameter(String key)
Removes all values of a custom field.
|
void |
setActualTime(double actualTime)
Sets the actual time in hours.
|
void |
setAlias(String alias)
Sets the alias name of this bug.
|
void |
setAssignee(String assignee)
Sets the assignee's ID for this bug.
|
void |
setAssigneeName(String assigneeName)
Sets the assignee's name for this bug.
|
void |
setAssigneeTeam(String assigneeTeam)
Sets the assignee's team for this bug.
|
void |
setBlocked(long blocked) |
void |
setBugzillaUri(String bugzillaUri)
Sets the Bugzilla instance URI
|
void |
setBugzillaVersion(String bugzillaVersion)
Sets the Bugzilla version.
|
void |
setCclistAccessible(boolean cclistAccessible) |
void |
setClassification(String classification)
Sets the classification name for this bug.
|
void |
setComponent(String component)
Sets the component name for this bug.
|
void |
setCreationTimestamp(Date creationTimestamp)
Sets the time of bug creation.
|
void |
setCustomField(String key,
String value)
Adds a custom field value.
|
void |
setDeadline(Date deadline)
Sets the dealine time.
|
void |
setDeltaTimestamp(Date deltaTimestamp)
Sets the timestamp of last change.
|
void |
setEstimatedTime(double estimatedTime)
Sets the estimated time in hours.
|
void |
setEverConfirmed(boolean everConfirmed) |
void |
setFileLocation(String fileLocation)
Sets the file location information.
|
void |
setId(String id)
Sets the Bugzilla bug ID
|
void |
setLink(String link)
Sets the link for this bug.
|
void |
setOpSys(String opSys)
Sets the operating system for this bug.
|
void |
setParentId(String parentId) |
void |
setPriority(String priority)
Sets the priority for this bug.
|
void |
setProduct(String product)
Sets the product name for this bug.
|
void |
setQaContact(String qaContact)
Sets the QA contact.
|
void |
setRemainingTime(double remainingTime)
Sets the remaining time in hours.
|
void |
setReporter(String reporter)
Sets the reporter of this bug.
|
void |
setReporterAccessible(boolean reporterAccessible) |
void |
setReporterName(String reporterName)
Sets the reporter's name of this bug.
|
void |
setReporterTeam(String reporterTeam)
Sets the reporter's team of this bug.
|
void |
setRepPlatform(String repPlatform)
Sets the reporter's platform.
|
void |
setResolution(String resolution)
Sets the resolution status.
|
void |
setSeverity(String severity)
Sets the severity for this bug.
|
void |
setShortDescription(String shortDescription)
Sets the summary or short description of this bug.
|
void |
setStatus(String status)
Sets the status of this bug.
|
void |
setTargetMilestone(String targetMilestone)
Sets the target milestone.
|
void |
setType(long typeId)
Sets the ID of the classification.
|
void |
setTypeName(String typeName) |
void |
setVersion(String version)
Sets the product version for this bug.
|
void |
setWhiteboard(String whiteboard)
Sets the whiteboard status for this bug.
|
String |
toString() |
public static final SimpleDateFormat DATETIME_WITH_SEC_TZ
public static final SimpleDateFormat DATETIME_WITH_SEC
public static final SimpleDateFormat DATETIME_WITHOUT_SEC
public static final SimpleDateFormat DATE
public static final String[] SEVERITIES
public String getBugzillaVersion()
getBugzillaVersion in interface Issuepublic void setBugzillaVersion(String bugzillaVersion)
setBugzillaVersion in interface IssuebugzillaVersion - - version to be setpublic String getBugzillaUri()
getBugzillaUri in interface Issuepublic void setBugzillaUri(String bugzillaUri)
setBugzillaUri in interface IssuebugzillaUri - - the URI to setpublic String getId()
public void setId(String id)
public String getParentId()
IssuegetParentId in interface Issuepublic void setParentId(String parentId)
setParentId in interface IssueparentId - the parentId to setpublic Date getCreationTimestamp()
getCreationTimestamp in interface Issuepublic void setCreationTimestamp(Date creationTimestamp)
setCreationTimestamp in interface IssuecreationTimestamp - - the timestamp to setpublic String getShortDescription()
getShortDescription in interface Issuepublic void setShortDescription(String shortDescription)
setShortDescription in interface IssueshortDescription - - the summary to setpublic Date getDeltaTimestamp()
getDeltaTimestamp in interface Issuepublic void setDeltaTimestamp(Date deltaTimestamp)
setDeltaTimestamp in interface IssuedeltaTimestamp - - the timestamp to setpublic boolean isReporterAccessible()
isReporterAccessible in interface Issuepublic void setReporterAccessible(boolean reporterAccessible)
setReporterAccessible in interface IssuereporterAccessible - - the reporterAccessible to setpublic boolean isCclistAccessible()
isCclistAccessible in interface Issuepublic void setCclistAccessible(boolean cclistAccessible)
setCclistAccessible in interface IssuecclistAccessible - - the cclistAccessible to setpublic long getType()
public void setType(long typeId)
public String getTypeName()
getTypeName in interface Issuepublic void setTypeName(String typeName)
setTypeName in interface IssuetypeName - the type name to setpublic String getProduct()
getProduct in interface Issuepublic void setProduct(String product)
setProduct in interface Issueproduct - - the product name to setpublic String getClassification()
getClassification in interface Issuepublic void setClassification(String classification)
setClassification in interface Issueclassification - - the classification name to setpublic String getComponent()
getComponent in interface Issuepublic void setComponent(String component)
setComponent in interface Issuecomponent - - the component name to setpublic String getVersion()
getBugzillaVersion().getVersion in interface Issuepublic void setVersion(String version)
setBugzillaVersion(String).setVersion in interface Issueversion - - the product version to setpublic String getRepPlatform()
getRepPlatform in interface Issuepublic void setRepPlatform(String repPlatform)
setRepPlatform in interface IssuerepPlatform - - the platform to setpublic String getOpSys()
public void setOpSys(String opSys)
public String getStatus()
public void setStatus(String status)
public String getResolution()
getResolution in interface Issuepublic void setResolution(String resolution)
setResolution in interface Issueresolution - - the resolution to setpublic String getPriority()
getPriority in interface Issuepublic void setPriority(String priority)
setPriority in interface Issuepriority - - the priority to setpublic String getSeverity()
getSeverity in interface IssueSEVERITIESpublic void setSeverity(String severity)
setSeverity in interface Issueseverity - - the severity to setSEVERITIESpublic String getTargetMilestone()
getTargetMilestone in interface Issuepublic void setTargetMilestone(String targetMilestone)
setTargetMilestone in interface IssuetargetMilestone - - the target milestone to setpublic boolean isEverConfirmed()
isEverConfirmed in interface Issuepublic void setEverConfirmed(boolean everConfirmed)
setEverConfirmed in interface IssueeverConfirmed - the everConfirmed to setpublic String getReporter()
getReporter in interface Issuepublic void setReporter(String reporter)
setReporter in interface Issuereporter - - the reporter to setpublic String getReporterName()
IssuegetReporterName in interface Issuepublic void setReporterName(String reporterName)
IssuesetReporterName in interface IssuereporterName - the reporterName to setpublic String getAssignee()
IssuegetAssignee in interface Issuepublic void setAssignee(String assignee)
IssuesetAssignee in interface Issueassignee - the assignee to setpublic String getAssigneeName()
IssuegetAssigneeName in interface Issuepublic void setAssigneeName(String assigneeName)
IssuesetAssigneeName in interface IssueassigneeName - the assigneeName to setpublic String getQaContact()
getQaContact in interface Issuepublic void setQaContact(String qaContact)
setQaContact in interface IssueqaContact - - the QA contact to setpublic String getFileLocation()
getFileLocation in interface Issuepublic void setFileLocation(String fileLocation)
setFileLocation in interface IssuefileLocation - - the file location to setpublic boolean addCc(String e)
public boolean addAllCc(Collection<? extends String> c)
public Iterator<String> getCcIterator()
getCcIterator in interface Issuepublic boolean removeCc(Object o)
public boolean removeAllCc(Collection<?> c)
removeAllCc in interface Issuec - - list of CCs to removepublic int getCcCount()
getCcCount in interface Issuepublic LongDescription addLongDescription()
addLongDescription in interface Issuepublic void clearLongDescriptions()
clearLongDescriptions in interface Issuepublic Iterator<LongDescription> getLongDescriptionIterator()
getLongDescriptionIterator in interface Issuepublic boolean removeLongDescription(LongDescription o)
removeLongDescription in interface Issueo - - the record to removepublic int getLongDescriptionCount()
getLongDescriptionCount in interface Issuepublic LongDescription getLongDescription(String id)
getLongDescription in interface Issueid - id of commentpublic long getBlocked()
getBlocked in interface Issuepublic void setBlocked(long blocked)
setBlocked in interface Issueblocked - the blocked to setpublic Attachment addAttachment()
addAttachment in interface Issuepublic void clearAttachments()
clearAttachments in interface Issuepublic Iterator<Attachment> getAttachmentIterator()
getAttachmentIterator in interface Issuepublic boolean removeAttachment(Attachment o)
removeAttachment in interface Issueo - - the attachment to removepublic int getAttachmentCount()
getAttachmentCount in interface Issuepublic Attachment getAttachment(long id)
getAttachment in interface Issueid - id of attachment.public void setCustomField(String key, String value)
setCustomField in interface Issuekey - - name of fieldvalue - - value of fieldpublic List<String> getCustomField(String key)
getCustomField in interface Issuekey - - name of fieldpublic String getCustomFieldString(String key)
getCustomFieldString in interface Issuekey - - name of fieldpublic String getCustomFieldString(String key, int idx)
getCustomFieldString in interface Issuekey - - name of fieldidx - - index of valuepublic Iterator<String> getCustomFieldNames()
getCustomFieldNames in interface Issuepublic int getCustomFieldCount()
getCustomFieldCount in interface Issuepublic void addAllCustomFields(String key, List<String> values)
addAllCustomFields in interface Issuekey - - name of fieldvalues - - list of values to addpublic void addAllCustomFields(Map<String,List<String>> p)
addAllCustomFields in interface Issuep - - map with names and values of fieldspublic void removeCustomField(String key, String value)
removeCustomField in interface Issuekey - - name of fieldvalue - - value to removepublic void removeParameter(String key)
removeParameter in interface Issuekey - - name of field.public void clearCustomFields()
clearCustomFields in interface Issuepublic boolean isClosed()
public boolean isResolved()
isResolved in interface Issuepublic boolean isCancelled()
IssueisCancelled in interface Issuepublic boolean isDuplicate()
IssueisDuplicate in interface Issuepublic boolean isOpen()
public boolean isInProgress()
isInProgress in interface Issuepublic String getAlias()
public void setAlias(String alias)
public String getWhiteboard()
getWhiteboard in interface Issuepublic void setWhiteboard(String whiteboard)
setWhiteboard in interface Issuewhiteboard - - the new whiteboard status.public double getEstimatedTime()
getEstimatedTime in interface Issuepublic void setEstimatedTime(double estimatedTime)
setEstimatedTime in interface IssueestimatedTime - - new estimated time in hourspublic double getRemainingTime()
getRemainingTime in interface Issuepublic void setRemainingTime(double remainingTime)
setRemainingTime in interface IssueremainingTime - - new remaining time in hourspublic double getActualTime()
getActualTime in interface Issuepublic void setActualTime(double actualTime)
setActualTime in interface IssueactualTime - - new actual time in hourspublic Date getDeadline()
getDeadline in interface Issuepublic void setDeadline(Date deadline)
setDeadline in interface Issuedeadline - - the new dealine timepublic String getLink()
Issuepublic void setLink(String link)
Issuepublic String getReporterTeam()
IssuegetReporterTeam in interface Issuepublic int getLinkCount()
getLinkCount in interface Issuepublic List<IssueLink> getChildren()
getChildren in interface Issuepublic int getChildCount()
getChildCount in interface Issuepublic void setReporterTeam(String reporterTeam)
IssuesetReporterTeam in interface IssuereporterTeam - the reporterTeam to setpublic String getAssigneeTeam()
IssuegetAssigneeTeam in interface Issuepublic void setAssigneeTeam(String assigneeTeam)
IssuesetAssigneeTeam in interface IssueassigneeTeam - the assigneeTeam to setCopyright © 2012. All Rights Reserved.