org.rhq.common.drift
Class Headers
java.lang.Object
org.rhq.common.drift.Headers
- All Implemented Interfaces:
- Serializable
public class Headers
- extends Object
- implements Serializable
A change set meta data file produced with a ChangeSetWriter includes a set of
headers which are represented by this class. The headers can be obtained through
ChangeSetReader.getHeaders().
- See Also:
- Serialized Form
Headers
public Headers()
getResourceId
public int getResourceId()
- This is the id of the resource to which the change set belongs
- Returns:
- The owning resource id
setResourceId
public void setResourceId(int resourceId)
- Parameters:
resourceId - The id of the resource to which the change set belongs
getDriftDefinitionId
public int getDriftDefinitionId()
- Returns:
- The id of the drift definition to which the change set belongs.
setDriftDefinitionId
public void setDriftDefinitionId(int driftDefinitionId)
- Parameters:
driftDefinitionId - The id of the drift def to which the change set belongs
getDriftDefinitionName
public String getDriftDefinitionName()
- Returns:
- The name of the drift def to which the change set belongs
setDriftDefinitionName
public void setDriftDefinitionName(String name)
- Parameters:
name - The name of the drift def to which the change set belongs
getBasedir
public String getBasedir()
- Returns:
- The full path of the top-level directory from which drift detection is performed
setBasedir
public void setBasedir(String basedir)
- Parameters:
basedir - The full path of the top-level directory from which drift detection is performed
getType
public org.rhq.core.domain.drift.DriftChangeSetCategory getType()
- Returns:
- The type of change set
setType
public void setType(org.rhq.core.domain.drift.DriftChangeSetCategory type)
- Parameters:
type - The type of change set
getVersion
public int getVersion()
- Returns:
- The change set version
setVersion
public void setVersion(int version)
- Parameters:
version - The change set version
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.