|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jdiagnose.Diagnostics
Used to contain and run a number of Diagnostic instances.
Constructor Summary | |
Diagnostics()
Create an empty Diagnostics. |
|
Diagnostics(java.util.List diagnosticContainers,
java.util.List diagnostics)
Create a Diagnostics with a list of children |
Method Summary | |
void |
addDiagnostic(Diagnostic diagnostic)
Add a diagnostic to the diagnostics contained in this class. |
void |
addDiagnosticContainer(DiagnosticContainer container)
|
java.util.List |
getDiagnosticContainers()
|
java.util.List |
getDiagnostics()
Returns any children of this diagnostic. |
java.lang.String |
getName()
Returns the name of the diagnostic. |
void |
setDiagnosticContainers(java.util.List diagnosticContainers)
|
void |
setDiagnostics(java.util.List diagnostics)
Set the diagnostics that will be run |
void |
setName(java.lang.String name)
Sets the name of this diagnostic |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Diagnostics()
setDiagnostics(List)
public Diagnostics(java.util.List diagnosticContainers, java.util.List diagnostics)
diagnostics
- diagnostics that will get
run with diagnose() is called on this class.Method Detail |
public void setName(java.lang.String name)
name
- the new Fully Qualified Namepublic java.lang.String getName()
DiagnosticContainer
getName
in interface DiagnosticContainer
public void setDiagnostics(java.util.List diagnostics)
diagnostics
- public void setDiagnosticContainers(java.util.List diagnosticContainers)
public void addDiagnostic(Diagnostic diagnostic)
diagnostic
- another diagnostic that should be run
when diagnose() is run.public java.util.List getDiagnostics()
DiagnosticContainer
getDiagnostics
in interface DiagnosticContainer
public java.util.List getDiagnosticContainers()
getDiagnosticContainers
in interface DiagnosticContainer
DiagnosticContainer.getDiagnosticContainers()
public void addDiagnosticContainer(DiagnosticContainer container)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |