|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rhq.core.domain.drift.DriftSnapshotRequest
public class DriftSnapshotRequest
An immutable class used to specify the characteristics of a requested DriftSnapshot. See
org.rhq.enterprise.server.drift.DriftManagerLocal#getSnapshot(org.rhq.core.domain.auth.Subject, DriftSnapshotRequest)
.
Defaults: startVersion = 0 (initial snapshot) includeDriftDirectories = false includeDriftInstances = true;
Constructor Summary | |
---|---|
DriftSnapshotRequest()
This should not be used. |
|
DriftSnapshotRequest(int driftDefinitionId)
Get the current (most recent) snapshot for the specified drift definition. |
|
DriftSnapshotRequest(int driftDefinitionId,
Integer version)
Get the requested snapshot version for the specified drift definition. |
|
DriftSnapshotRequest(int driftDefinitionId,
Integer version,
Integer startVersion,
String directory,
boolean includeDriftDirectories,
boolean includeDriftInstances)
|
|
DriftSnapshotRequest(int driftDefinitionId,
Integer version,
String directory)
Get the requested snapshot version for the specified drift definition, narrowed to files in the specified directory. |
|
DriftSnapshotRequest(String templateChangesetIdString,
String directory,
boolean includeDriftDirectories,
boolean includeDriftInstances)
|
Method Summary | |
---|---|
String |
getDirectory()
|
Integer |
getDriftDefinitionId()
|
Integer |
getStartVersion()
|
String |
getTemplateChangeSetId()
|
Integer |
getVersion()
|
boolean |
isIncludeDriftDirectories()
|
boolean |
isIncludeDriftInstances()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DriftSnapshotRequest()
public DriftSnapshotRequest(int driftDefinitionId)
driftDefinitionId
- public DriftSnapshotRequest(int driftDefinitionId, Integer version)
driftDefinitionId
- version
- not nullpublic DriftSnapshotRequest(int driftDefinitionId, Integer version, String directory)
driftDefinitionId
- version
- null or < 0 or > most recent will default to most recentdirectory
- if specified, limit the snapshot to the specified directorypublic DriftSnapshotRequest(int driftDefinitionId, Integer version, Integer startVersion, String directory, boolean includeDriftDirectories, boolean includeDriftInstances)
driftDefinitionId
- version
- null or < 0 or > most recent will default to most recentstartVersion
- null or < 0 or > version will default to 0directory
- if specified, limit the snapshot to the specified directoryincludeDriftDirectories
- includeDriftInstances
- public DriftSnapshotRequest(String templateChangesetIdString, String directory, boolean includeDriftDirectories, boolean includeDriftInstances)
Method Detail |
---|
public String getTemplateChangeSetId()
public Integer getDriftDefinitionId()
public Integer getVersion()
public Integer getStartVersion()
public String getDirectory()
public boolean isIncludeDriftDirectories()
public boolean isIncludeDriftInstances()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |