org.rhq.core.domain.content
Class ContentSourceSyncResults

java.lang.Object
  extended by org.rhq.core.domain.content.ContentSourceSyncResults
All Implemented Interfaces:
Serializable

public class ContentSourceSyncResults
extends Object
implements Serializable

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.

See Also:
Serialized Form

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.
 ContentSourceSyncStatus 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(ContentSourceSyncStatus status)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

QUERY_GET_INPROGRESS_BY_CONTENT_SOURCE_ID

public static final String QUERY_GET_INPROGRESS_BY_CONTENT_SOURCE_ID
See Also:
Constant Field Values

QUERY_GET_ALL_BY_CONTENT_SOURCE_ID

public static final String QUERY_GET_ALL_BY_CONTENT_SOURCE_ID
See Also:
Constant Field Values
Constructor Detail

ContentSourceSyncResults

protected ContentSourceSyncResults()

ContentSourceSyncResults

public ContentSourceSyncResults(ContentSource contentSource)
Method Detail

getId

public int getId()

setId

public void setId(int id)

getContentSource

public ContentSource getContentSource()
The content source that performed the sync.


setContentSource

public void setContentSource(ContentSource contentSource)

getStatus

public ContentSourceSyncStatus getStatus()
The status that typically indicates if the sync request succeeded, failed or is currently in progress.


setStatus

public void setStatus(ContentSourceSyncStatus status)

getStartTime

public long getStartTime()
Indicates when the sync began.


setStartTime

public void setStartTime(long startTime)

getEndTime

public Long getEndTime()
Indicates when the sync stopped.


setEndTime

public void setEndTime(Long endTime)

getResults

public String getResults()
Tells you the results of the sync.


setResults

public void setResults(String results)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.