org.rhq.core.pc.drift
Interface ChangeSetManager
- All Known Implementing Classes:
- ChangeSetManagerImpl
public interface ChangeSetManager
changeSetExists
boolean changeSetExists(int resourceId,
Headers headers)
findChangeSet
File findChangeSet(int resourceId,
String driftDefinitionName)
throws IOException
- Locates the latest coverage change set for the specified resource id and drift
definition.
- Parameters:
resourceId - The id of the resource to which the change set belongsdriftDefinitionName - The name of the drift definition for which the
change set was generated
- Returns:
- The change set file or null if it is not found
- Throws:
IOException
findChangeSet
File findChangeSet(int resourceId,
String name,
org.rhq.core.domain.drift.DriftChangeSetCategory type)
getChangeSetReader
ChangeSetReader getChangeSetReader(int resourceId,
String driftDefinitionName)
throws IOException
- Locates the latest change set for the given resource and drift definition and
returns a ChangeSetReader for that change set. Note that a resource can have
multiple drift definitions; so, both the resource id and the drift definition
are required to uniquely identify a particular change set.
- Parameters:
resourceId - The id of the resource to which the change set belongsdriftDefinitionName - The name of the drift definition for which the
change set was generated
- Returns:
- A ChangeSetReader that is open on the change set identified by resourceId
and driftDefinition. Returns null if no change set has previously been generated.
- Throws:
IOException- See Also:
ChangeSetReader
getChangeSetReader
ChangeSetReader getChangeSetReader(File changeSetFile)
throws IOException
- Throws:
IOException
getChangeSetWriter
ChangeSetWriter getChangeSetWriter(int resourceId,
Headers headers)
throws IOException
- Throws:
IOException
getChangeSetWriter
ChangeSetWriter getChangeSetWriter(File changeSetFile,
Headers headers)
throws IOException
- Throws:
IOException
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.