public class Diagnostics extends Object implements Validatable
| Modifier and Type | Class and Description |
|---|---|
static class |
Diagnostics.ReportTo |
| Constructor and Description |
|---|
Diagnostics() |
Diagnostics(Diagnostics original) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getEnabled() |
Integer |
getInterval() |
Diagnostics.ReportTo |
getReportTo() |
TimeUnits |
getTimeUnits() |
void |
setEnabled(Boolean enabled) |
void |
setInterval(Integer interval) |
void |
setReportTo(Diagnostics.ReportTo reportTo) |
void |
setTimeUnits(TimeUnits timeUnits) |
void |
validate()
Checks the state of the object to ensure it is valid.
|
public Diagnostics()
public Diagnostics(Diagnostics original)
public void validate()
throws Exception
Validatablevalidate in interface ValidatableException - if the state of the object is not validpublic Boolean getEnabled()
public void setEnabled(Boolean enabled)
public Integer getInterval()
public void setInterval(Integer interval)
public TimeUnits getTimeUnits()
public void setTimeUnits(TimeUnits timeUnits)
public Diagnostics.ReportTo getReportTo()
public void setReportTo(Diagnostics.ReportTo reportTo)
Copyright © 2015–2017 Red Hat, Inc.. All rights reserved.