org.rhq.core.domain.drift
Interface Drift<C extends DriftChangeSet<?>,F extends DriftFile>

Type Parameters:
C - A server plugin's DriftChangeSet implementation
F - A server plugin's DriftFile implementation
All Known Implementing Classes:
DriftDTO, JPADrift

public interface Drift<C extends DriftChangeSet<?>,F extends DriftFile>

To support pluggable drift server implementations this Interface provides the contract required for defining and persisting each Drift entry in a DriftChangeSet.


Method Summary
 DriftCategory getCategory()
           
 C getChangeSet()
           
 Long getCtime()
           
 String getDirectory()
           
 String getId()
           
 F getNewDriftFile()
           
 F getOldDriftFile()
           
 String getPath()
           
 void setCategory(DriftCategory category)
           
 void setChangeSet(C changeSet)
           
 void setDirectory(String directory)
           
 void setId(String id)
           
 void setNewDriftFile(F newDriftFile)
           
 void setOldDriftFile(F oldDriftFile)
           
 void setPath(String path)
           
 

Method Detail

getId

String getId()

setId

void setId(String id)

getCtime

Long getCtime()

getChangeSet

C getChangeSet()

setChangeSet

void setChangeSet(C changeSet)

getCategory

DriftCategory getCategory()

setCategory

void setCategory(DriftCategory category)

getPath

String getPath()

setPath

void setPath(String path)

getDirectory

String getDirectory()

setDirectory

void setDirectory(String directory)

getOldDriftFile

F getOldDriftFile()

setOldDriftFile

void setOldDriftFile(F oldDriftFile)

getNewDriftFile

F getNewDriftFile()

setNewDriftFile

void setNewDriftFile(F newDriftFile)


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.