|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.mywork.model.Task
public class Task
This class describes a user task.
Constructor Summary | |
---|---|
Task(long id,
java.lang.String applicationLinkId,
java.lang.String title,
java.lang.String user,
java.lang.String notes,
Status status,
java.lang.String application,
java.lang.String entity,
long created,
long updated,
java.lang.String globalId,
org.codehaus.jackson.node.ObjectNode metadata,
Item item)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getApplication()
Returns the application that created the task (e.g. |
java.lang.String |
getApplicationLinkId()
Returns the application link id of the application that created the task. |
long |
getCreated()
Returns the time in milliseconds when this task was created in the data store. |
java.lang.String |
getEntity()
Returns type of the remote entity that the task is related to (e.g. |
java.lang.String |
getGlobalId()
Returns a string that should uniquely identify the remote object that this task relates to. |
long |
getId()
Returns the task id. |
Item |
getItem()
Returns the item describing content related to this task. |
org.codehaus.jackson.node.ObjectNode |
getMetadata()
Returns optional free-form metadata for use by the creator of this task. |
java.lang.String |
getNotes()
Returns the notes of the task. |
Status |
getStatus()
Returns the status of this task. |
java.lang.String |
getTitle()
Returns the title of the task. |
long |
getUpdated()
Returns the time in milliseconds when this task was last updated in the data store. |
java.lang.String |
getUser()
Returns username of the owner of the task. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Task(long id, java.lang.String applicationLinkId, java.lang.String title, java.lang.String user, java.lang.String notes, Status status, java.lang.String application, java.lang.String entity, long created, long updated, java.lang.String globalId, org.codehaus.jackson.node.ObjectNode metadata, Item item)
Method Detail |
---|
public long getId()
public java.lang.String getApplicationLinkId()
public java.lang.String getTitle()
public java.lang.String getUser()
public java.lang.String getNotes()
Note that this intended for user entered data, and may be updated. It is not really a good place for a static 'description' of this task.
public Status getStatus()
Status.DONE
.
public java.lang.String getApplication()
public java.lang.String getEntity()
public long getCreated()
public long getUpdated()
If the creation time matches the update time, the task has never been updated.
public java.lang.String getGlobalId()
public org.codehaus.jackson.node.ObjectNode getMetadata()
public Item getItem()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |