public final class ExecutionThread extends java.lang.Object implements java.lang.Comparable<ExecutionThread>
Constructor and Description |
---|
ExecutionThread(APIConnection connection,
org.json.simple.JSONObject json) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ExecutionThread other) |
boolean |
equals(java.lang.Object o) |
java.util.List<Category> |
getCategories()
Returns a list of categories this thread is running in
|
long |
getId()
Returns the ID of this thread
|
java.util.Date |
getLastModified()
Returns the last time this thread was modified
|
java.lang.String |
getLocation()
Returns the location the thread is running from
|
java.lang.String |
getName()
Returns the name of the thread
|
Site |
getSite()
Returns the site this thread is running on
|
long |
getSiteId()
Returns the site id of the site this thread is running in
|
int |
hashCode() |
ExecutionThread(APIConnection connection, @NotNull org.json.simple.JSONObject json)
public java.util.List<Category> getCategories()
public long getId()
@Nullable public java.lang.String getName()
@Nullable public java.lang.String getLocation()
public java.util.Date getLastModified()
@Nullable public Site getSite()
public long getSiteId()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(ExecutionThread other)
compareTo
in interface java.lang.Comparable<ExecutionThread>