|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.core.domain.content.RepoSyncResults
public class RepoSyncResults
Represents the results of a repo sync request. When a Repo synchronizes with its remote
backend, the results of that are stored in this object.
| Field Summary | |
|---|---|
static String |
QUERY_GET_ALL_BY_REPO_ID
|
static String |
QUERY_GET_INPROGRESS_BY_REPO_ID
|
| Constructor Summary | |
|---|---|
protected |
RepoSyncResults()
|
|
RepoSyncResults(Repo repoIn)
|
| Method Summary | |
|---|---|
void |
appendResults(String msg)
Convienence method to append a string to the results of this RepoSyncResults. |
Long |
getEndTime()
Indicates when the sync stopped. |
int |
getId()
|
Long |
getPercentComplete()
|
Repo |
getRepo()
The Repo that performed the sync. |
String |
getResults()
Tells you the results of the sync. |
long |
getStartTime()
Indicates when the sync began. |
ContentSyncStatus |
getStatus()
The status that typically indicates if the sync request succeeded, failed or is currently in progress. |
void |
setEndTime(Long endTime)
|
void |
setId(int id)
|
void |
setPercentComplete(Long percentComplete)
|
void |
setRepo(Repo repoIn)
|
void |
setResults(String results)
|
void |
setStartTime(long startTime)
|
void |
setStatus(ContentSyncStatus status)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String QUERY_GET_INPROGRESS_BY_REPO_ID
public static final String QUERY_GET_ALL_BY_REPO_ID
| Constructor Detail |
|---|
protected RepoSyncResults()
public RepoSyncResults(Repo repoIn)
| Method Detail |
|---|
public int getId()
public void setId(int id)
public Repo getRepo()
public void setRepo(Repo repoIn)
public ContentSyncStatus getStatus()
getStatus in interface ContentSyncResultspublic void setStatus(ContentSyncStatus status)
setStatus in interface ContentSyncResultspublic long getStartTime()
getStartTime in interface ContentSyncResultspublic void setStartTime(long startTime)
public Long getEndTime()
public void setEndTime(Long endTime)
setEndTime in interface ContentSyncResultspublic String getResults()
public void setResults(String results)
setResults in interface ContentSyncResultspublic Long getPercentComplete()
public void setPercentComplete(Long percentComplete)
public String toString()
toString in class Objectpublic void appendResults(String msg)
msg - to append
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||