|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.projectdarkstar.tools.dtc.data.AbstractDTO
com.projectdarkstar.tools.dtc.data.SystemProbeDTO
public class SystemProbeDTO
Represents a system probe application used to monitor and collect statistics during a DTC test.
| Constructor Summary | |
|---|---|
SystemProbeDTO(Long id,
Long versionNumber,
String name,
String className,
String classPath,
String metric,
String units)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
String |
getClassName()
Returns the fully qualified class name of this system probe required to initiate execution of this system probe |
String |
getClassPath()
Returns the classpath required to run the system probe application. |
Long |
getId()
Returns the id of the entity in persistent storage |
String |
getMetric()
Returns the name of the metric that this system probe is designed to measure. |
String |
getName()
|
List<PropertyDTO> |
getProperties()
Returns a list of arguments in the form of PropertyDTO objects
to be passed to the system probe during run time. |
PkgLibraryDTO |
getRequiredPkg()
Returns the package library required to run this system probe. |
List<SystemProbeTagDTO> |
getTags()
Returns a list of SystemProbeTagDTO objects that are used
to categorize system probes into groups. |
String |
getUnits()
Returns the unit of measurement of the metric. |
Long |
getVersionNumber()
Returns the version number in the data store that this entity represents. |
int |
hashCode()
|
protected void |
setClassName(String className)
|
protected void |
setClassPath(String classPath)
|
void |
setId(Long id)
|
protected void |
setMetric(String metric)
|
protected void |
setName(String name)
|
protected void |
setProperties(List<PropertyDTO> properties)
|
protected void |
setRequiredPkg(PkgLibraryDTO requiredPkg)
|
protected void |
setTags(List<SystemProbeTagDTO> tags)
|
protected void |
setUnits(String units)
|
void |
updateClassName(String className)
|
void |
updateClassPath(String classPath)
|
void |
updateMetric(String metric)
|
void |
updateName(String name)
|
void |
updateProperties(List<PropertyDTO> properties)
|
void |
updateRequiredPkg(PkgLibraryDTO requiredPkg)
|
void |
updateTags(List<SystemProbeTagDTO> tags)
|
void |
updateUnits(String units)
|
void |
validate()
Validates that each attribute and pending updated attribute (from the updatedAttributes Map) has a valid value in the context of the particular object. |
| Methods inherited from class com.projectdarkstar.tools.dtc.data.AbstractDTO |
|---|
checkBlank, checkNull, getFullyPopulated, getUpdatedAttributes, updateAttribute, valueToValidate |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SystemProbeDTO(Long id,
Long versionNumber,
String name,
String className,
String classPath,
String metric,
String units)
| Method Detail |
|---|
public Long getId()
getId in class AbstractDTOpublic void setId(Long id)
public Long getVersionNumber()
public String getName()
protected void setName(String name)
public void updateName(String name)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic String getClassName()
protected void setClassName(String className)
public void updateClassName(String className)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic String getClassPath()
required zip archive.
protected void setClassPath(String classPath)
public void updateClassPath(String classPath)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic String getMetric()
protected void setMetric(String metric)
public void updateMetric(String metric)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic String getUnits()
protected void setUnits(String units)
public void updateUnits(String units)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic List<SystemProbeTagDTO> getTags()
SystemProbeTagDTO objects that are used
to categorize system probes into groups.
protected void setTags(List<SystemProbeTagDTO> tags)
public void updateTags(List<SystemProbeTagDTO> tags)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic List<PropertyDTO> getProperties()
PropertyDTO objects
to be passed to the system probe during run time.
protected void setProperties(List<PropertyDTO> properties)
public void updateProperties(List<PropertyDTO> properties)
throws DTCInvalidDataException
DTCInvalidDataExceptionpublic PkgLibraryDTO getRequiredPkg()
protected void setRequiredPkg(PkgLibraryDTO requiredPkg)
public void updateRequiredPkg(PkgLibraryDTO requiredPkg)
throws DTCInvalidDataException
DTCInvalidDataException
public void validate()
throws DTCInvalidDataException
AbstractDTO
validate in class AbstractDTODTCInvalidDataExceptionpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||