|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.mylar.tasks.core.AttributeContainer
org.eclipse.mylar.tasks.core.RepositoryTaskData
public class RepositoryTaskData
Field Summary | |
---|---|
private java.util.List<RepositoryAttachment> |
attachments
|
protected java.util.Date |
created
Creation timestamp |
protected java.lang.String |
description
Description of the bug |
private boolean |
hasLocalChanges
|
protected java.util.Date |
lastModified
Modification timestamp |
protected java.lang.String |
newComment
|
private java.lang.String |
reportID
|
protected java.lang.String |
repositoryKind
|
protected java.util.List<RepositoryOperation> |
repositoryOperations
The repositoryOperations that can be done on the report |
private java.lang.String |
repositoryURL
|
protected RepositoryOperation |
selectedOperation
The operation that was selected to do to the bug |
private static long |
serialVersionUID
|
private java.util.List<TaskComment> |
taskComments
|
static java.lang.String |
VAL_STATUS_NEW
|
protected java.util.List<java.lang.String> |
validKeywords
The bugs valid keywords |
Fields inherited from class org.eclipse.mylar.tasks.core.AttributeContainer |
---|
ERROR_NO_ATTRIBUTE_FACTORY |
Constructor Summary | |
---|---|
RepositoryTaskData(AbstractAttributeFactory factory,
java.lang.String repositoryKind,
java.lang.String repositoryURL,
java.lang.String id)
|
Method Summary | |
---|---|
void |
addAttachment(RepositoryAttachment attachment)
|
void |
addComment(TaskComment taskComment)
|
void |
addOperation(RepositoryOperation o)
Add an operation to the bug |
java.lang.String |
getAssignedTo()
|
java.util.List<RepositoryAttachment> |
getAttachments()
|
java.util.List<java.lang.String> |
getAttributeValues(java.lang.String key)
|
java.util.List<java.lang.String> |
getCC()
|
java.util.List<TaskComment> |
getComments()
|
java.lang.String |
getCreated()
Get the date that the bug was created |
java.lang.String |
getDescription()
|
RepositoryTaskAttribute |
getDescriptionAttribute()
|
java.lang.String |
getId()
|
java.util.List<java.lang.String> |
getKeywords()
Get the keywords for the bug |
java.lang.String |
getLabel()
|
java.lang.String |
getLastModified()
|
java.lang.String |
getNewComment()
Get the new comment that is to be added to the bug |
RepositoryOperation |
getOperation(java.lang.String displayText)
Get an operation from the bug based on its display name |
java.util.List<RepositoryOperation> |
getOperations()
Get all of the repositoryOperations that can be done to the bug |
java.lang.String |
getProduct()
|
java.lang.String |
getReporter()
Get the person who reported the bug |
java.lang.String |
getRepositoryKind()
|
java.lang.String |
getRepositoryUrl()
|
java.lang.String |
getResolution()
Get the resolution of the bug |
RepositoryOperation |
getSelectedOperation()
|
java.lang.String |
getStatus()
Get the status of the bug |
java.lang.String |
getSummary()
Get the summary for the bug |
boolean |
hasLocalChanges()
|
boolean |
isLocallyCreated()
|
void |
removeAttributeValue(java.lang.String key,
java.lang.String value)
|
void |
removeCC(java.lang.String email)
|
void |
setAttributeFactory(AbstractAttributeFactory factory)
|
void |
setDescription(java.lang.String description)
|
void |
setHasLocalChanges(boolean b)
|
void |
setNewComment(java.lang.String newComment)
Set the new comment that will be added to the bug |
void |
setSelectedOperation(RepositoryOperation o)
|
void |
setSummary(java.lang.String summary)
|
Methods inherited from class org.eclipse.mylar.tasks.core.AttributeContainer |
---|
addAttribute, addAttributeValue, getAttribute, getAttributes, getAttributeValue, removeAllAttributes, removeAttribute, setAttributeValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private boolean hasLocalChanges
public static final java.lang.String VAL_STATUS_NEW
private java.lang.String reportID
private java.lang.String repositoryURL
protected java.lang.String newComment
private java.util.List<TaskComment> taskComments
private java.util.List<RepositoryAttachment> attachments
protected RepositoryOperation selectedOperation
protected java.util.List<RepositoryOperation> repositoryOperations
protected java.util.List<java.lang.String> validKeywords
protected java.lang.String description
protected java.util.Date created
protected java.util.Date lastModified
protected java.lang.String repositoryKind
Constructor Detail |
---|
public RepositoryTaskData(AbstractAttributeFactory factory, java.lang.String repositoryKind, java.lang.String repositoryURL, java.lang.String id)
Method Detail |
---|
public java.lang.String getLabel()
public java.lang.String getResolution()
public java.lang.String getStatus()
public java.lang.String getLastModified()
public void setSelectedOperation(RepositoryOperation o)
public RepositoryOperation getSelectedOperation()
public java.util.List<RepositoryOperation> getOperations()
public java.lang.String getReporter()
public RepositoryOperation getOperation(java.lang.String displayText)
displayText
- The display text for the operation
public java.lang.String getSummary()
public void setSummary(java.lang.String summary)
public java.lang.String getProduct()
public boolean isLocallyCreated()
public java.lang.String getCreated()
public java.util.List<java.lang.String> getKeywords()
public void addOperation(RepositoryOperation o)
o
- The operation to addpublic java.util.List<java.lang.String> getCC()
public void removeCC(java.lang.String email)
public java.lang.String getAssignedTo()
public java.lang.String getNewComment()
public void setNewComment(java.lang.String newComment)
public void addComment(TaskComment taskComment)
public java.util.List<TaskComment> getComments()
public void setDescription(java.lang.String description)
public java.lang.String getDescription()
public RepositoryTaskAttribute getDescriptionAttribute()
public void addAttachment(RepositoryAttachment attachment)
public java.util.List<RepositoryAttachment> getAttachments()
public java.lang.String getId()
public java.lang.String getRepositoryUrl()
public boolean hasLocalChanges()
public void setHasLocalChanges(boolean b)
public java.util.List<java.lang.String> getAttributeValues(java.lang.String key)
getAttributeValues
in class AttributeContainer
public void removeAttributeValue(java.lang.String key, java.lang.String value)
public java.lang.String getRepositoryKind()
public void setAttributeFactory(AbstractAttributeFactory factory)
setAttributeFactory
in class AttributeContainer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |