Constructor and Description |
---|
Site(APIConnection connection,
org.json.simple.JSONObject json) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Site other) |
boolean |
equals(java.lang.Object o) |
long |
getId()
Returns the id of the site
|
java.util.Date |
getLastEntry()
Returns the last time this site was entered.
|
java.util.Date |
getLastModified()
Returns the last time this site was modified.
|
java.util.Date |
getLastReset()
Returns the last time this site was reset
|
java.util.Date |
getLastSuccessfulEntryAndExit()
Returns the last time this site was entered and exited successfully.
|
java.util.Date |
getLastSuccessfulExit()
Returns the last time this site was exited successfully.
|
int |
getMaxThreadsPerCategory()
Returns the maximum number of threads this site will allow in a single category
|
java.lang.String |
getName()
Returns the name of this site
|
java.util.Date |
getPreviousLastEntry()
Returns the last time this site was entered prior to the most recent entry.
|
java.util.Date |
getPreviousLastSuccessfulExit()
Returns the last time this site was exited successfully prior to the most recent successful exit.
|
int |
getRecords()
Returns the number of records in this site
|
int |
getReduceMaxThreadsPerCategoryEachLevel()
Returns the number of threads this site will reduce the allowed amount in a single category per depth level
|
java.util.List<Category> |
getRootCategories()
Returns a list of categories that are direct children of this site
|
int |
getThreadCount()
Returns the approximate number of threads in the site
|
java.util.Collection<ExecutionThread> |
getThreads()
Returns a list of threads that are current executing in this site
|
int |
hashCode() |
Site(APIConnection connection, @NotNull org.json.simple.JSONObject json)
@Nullable public java.util.Date getLastEntry()
@Nullable public java.util.Date getPreviousLastEntry()
@Nullable public java.util.Date getLastSuccessfulExit()
@Nullable public java.util.Date getPreviousLastSuccessfulExit()
@Nullable public java.util.Date getLastSuccessfulEntryAndExit()
public java.util.List<Category> getRootCategories()
public java.util.Collection<ExecutionThread> getThreads()
public java.lang.String getName()
public int getMaxThreadsPerCategory()
public int getReduceMaxThreadsPerCategoryEachLevel()
public java.util.Date getLastReset()
public java.util.Date getLastModified()
public long getId()
public int getThreadCount()
public int getRecords()
public int compareTo(Site other)
compareTo
in interface java.lang.Comparable<Site>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object