public class Headers extends Object implements Serializable
ChangeSetWriter includes a set of
headers which are represented by this class. The headers can be obtained through
ChangeSetReader.getHeaders().| Constructor and Description |
|---|
Headers() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBasedir() |
int |
getDriftDefinitionId() |
String |
getDriftDefinitionName() |
int |
getResourceId()
This is the id of the resource to which the change set belongs
|
org.rhq.core.domain.drift.DriftChangeSetCategory |
getType() |
int |
getVersion() |
void |
setBasedir(String basedir) |
void |
setDriftDefinitionId(int driftDefinitionId) |
void |
setDriftDefinitionName(String name) |
void |
setResourceId(int resourceId) |
void |
setType(org.rhq.core.domain.drift.DriftChangeSetCategory type) |
void |
setVersion(int version) |
String |
toString() |
public int getResourceId()
public void setResourceId(int resourceId)
resourceId - The id of the resource to which the change set belongspublic int getDriftDefinitionId()
public void setDriftDefinitionId(int driftDefinitionId)
driftDefinitionId - The id of the drift def to which the change set belongspublic String getDriftDefinitionName()
public void setDriftDefinitionName(String name)
name - The name of the drift def to which the change set belongspublic String getBasedir()
public void setBasedir(String basedir)
basedir - The full path of the top-level directory from which drift detection is performedpublic org.rhq.core.domain.drift.DriftChangeSetCategory getType()
public void setType(org.rhq.core.domain.drift.DriftChangeSetCategory type)
type - The type of change setpublic int getVersion()
public void setVersion(int version)
version - The change set versionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.