org.rhq.core.pc.drift
Interface DriftClient
- All Known Implementing Classes:
- DriftManager
public interface DriftClient
This is a client interface to the server that drift-related tasks call to interact with
the server.
The primary reason classes use DriftClient instead of DriftManager directly is to
facilitate testing with stubs or mocks.
sendChangeSetToServer
void sendChangeSetToServer(DriftDetectionSummary detectionSummary)
sendChangeSetContentToServer
void sendChangeSetContentToServer(int resourceId,
String driftDefName,
File contentZipFile)
- Sends requested content to the server. All of the files in the content directory are
zipped up, and the zip file is sent to the server. After the zip file is sent to the
server, the content directory is purged.
- Parameters:
resourceId - driftDefinitionName - contentDir -
repeatChangeSet
void repeatChangeSet(int resourceId,
String driftDefName,
int version)
getAbsoluteBaseDirectory
File getAbsoluteBaseDirectory(int resourceId,
org.rhq.core.domain.drift.DriftDefinition driftDefinition)
reportMissingBaseDir
void reportMissingBaseDir(int resourceId,
org.rhq.core.domain.drift.DriftDefinition driftDefinition)
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.