org.rhq.enterprise.server.drift
Class DriftServerServiceImpl

java.lang.Object
  extended by org.rhq.enterprise.server.drift.DriftServerServiceImpl
All Implemented Interfaces:
DriftServerService

public class DriftServerServiceImpl
extends Object
implements DriftServerService


Constructor Summary
DriftServerServiceImpl()
           
 
Method Summary
 org.rhq.core.domain.drift.DriftSnapshot getCurrentSnapshot(int driftDefinitionId)
           
 Map<Integer,List<org.rhq.core.domain.drift.DriftDefinition>> getDriftDefinitions(Set<Integer> resourceIds)
           
 org.rhq.core.domain.drift.DriftSnapshot getSnapshot(int driftDefinitionId, int startVersion, int endVersion)
           
 void repeatChangeSet(int resourceId, String driftDefName, int version)
           
 void sendChangesetZip(int resourceId, long zipSize, InputStream zipStream)
           
 void sendFilesZip(int resourceId, String driftDefinitionName, String token, long zipSize, InputStream zipStream)
           
 void updateCompliance(int resourceId, String drfitDefName, org.rhq.core.domain.drift.DriftComplianceStatus complianceStatus)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DriftServerServiceImpl

public DriftServerServiceImpl()
Method Detail

sendChangesetZip

public void sendChangesetZip(int resourceId,
                             long zipSize,
                             InputStream zipStream)
Specified by:
sendChangesetZip in interface DriftServerService

sendFilesZip

public void sendFilesZip(int resourceId,
                         String driftDefinitionName,
                         String token,
                         long zipSize,
                         InputStream zipStream)
Specified by:
sendFilesZip in interface DriftServerService

repeatChangeSet

public void repeatChangeSet(int resourceId,
                            String driftDefName,
                            int version)
Specified by:
repeatChangeSet in interface DriftServerService

getDriftDefinitions

public Map<Integer,List<org.rhq.core.domain.drift.DriftDefinition>> getDriftDefinitions(Set<Integer> resourceIds)
Specified by:
getDriftDefinitions in interface DriftServerService

getCurrentSnapshot

public org.rhq.core.domain.drift.DriftSnapshot getCurrentSnapshot(int driftDefinitionId)
Specified by:
getCurrentSnapshot in interface DriftServerService

getSnapshot

public org.rhq.core.domain.drift.DriftSnapshot getSnapshot(int driftDefinitionId,
                                                           int startVersion,
                                                           int endVersion)
Specified by:
getSnapshot in interface DriftServerService

updateCompliance

public void updateCompliance(int resourceId,
                             String drfitDefName,
                             org.rhq.core.domain.drift.DriftComplianceStatus complianceStatus)
Specified by:
updateCompliance in interface DriftServerService


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