org.rhq.core.domain.drift
Class DriftSnapshot

java.lang.Object
  extended by org.rhq.core.domain.drift.DriftSnapshot
All Implemented Interfaces:
Serializable

public class DriftSnapshot
extends Object
implements Serializable

A representation of an agent's drift file monitoring.

See Also:
Serialized Form

Nested Class Summary
static class DriftSnapshot.DriftSnapshotDirectory
           
 
Constructor Summary
DriftSnapshot()
          This should not be used.
DriftSnapshot(DriftSnapshotRequest request)
           
 
Method Summary
 DriftSnapshot addChangeSet(DriftChangeSet<? extends Drift<?,?>> changeSet)
           
 DriftDiffReport<?> diff(DriftSnapshot right)
           
 Collection<DriftSnapshot.DriftSnapshotDirectory> getDriftDirectories()
           
 Collection<Drift<?,?>> getDriftInstances()
           
 DriftSnapshotRequest getRequest()
           
 int getVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DriftSnapshot

public DriftSnapshot()
This should not be used. It's to satisfy smartgwt.


DriftSnapshot

public DriftSnapshot(DriftSnapshotRequest request)
Method Detail

getVersion

public int getVersion()

getDriftInstances

public Collection<Drift<?,?>> getDriftInstances()

getDriftDirectories

public Collection<DriftSnapshot.DriftSnapshotDirectory> getDriftDirectories()

addChangeSet

public DriftSnapshot addChangeSet(DriftChangeSet<? extends Drift<?,?>> changeSet)
Parameters:
changeSet - The drifts must be set for the changeSet
Returns:

diff

public DriftDiffReport<?> diff(DriftSnapshot right)

getRequest

public DriftSnapshotRequest getRequest()


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