|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rhq.core.domain.content.ContentSourceSyncResults
public class ContentSourceSyncResults
Represents the results of a content source sync request. When a ContentSource
synchronizes with its remote
backend, the results of that are stored in this object.
Field Summary | |
---|---|
static String |
QUERY_GET_ALL_BY_CONTENT_SOURCE_ID
|
static String |
QUERY_GET_INPROGRESS_BY_CONTENT_SOURCE_ID
|
Constructor Summary | |
---|---|
protected |
ContentSourceSyncResults()
|
|
ContentSourceSyncResults(ContentSource contentSource)
|
Method Summary | |
---|---|
ContentSource |
getContentSource()
The content source that performed the sync. |
Long |
getEndTime()
Indicates when the sync stopped. |
int |
getId()
|
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 |
setContentSource(ContentSource contentSource)
|
void |
setEndTime(Long endTime)
|
void |
setId(int id)
|
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_CONTENT_SOURCE_ID
public static final String QUERY_GET_ALL_BY_CONTENT_SOURCE_ID
Constructor Detail |
---|
protected ContentSourceSyncResults()
public ContentSourceSyncResults(ContentSource contentSource)
Method Detail |
---|
public int getId()
public void setId(int id)
public ContentSource getContentSource()
public void setContentSource(ContentSource contentSource)
public ContentSyncStatus getStatus()
getStatus
in interface ContentSyncResults
public void setStatus(ContentSyncStatus status)
setStatus
in interface ContentSyncResults
public long getStartTime()
getStartTime
in interface ContentSyncResults
public void setStartTime(long startTime)
public Long getEndTime()
public void setEndTime(Long endTime)
setEndTime
in interface ContentSyncResults
public String getResults()
public void setResults(String results)
setResults
in interface ContentSyncResults
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |