|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.health.action.AbstractHealthAction
com.caucho.health.action.PdfReport
@Singleton @Configurable public class PdfReport
Health action to generate a PDF report from a PHP script.
<health:PdfReport>
<path>${resin.home}/doc/admin/pdf-gen.php</path>
<report>Summary</report>
<health:IfCron value="0 0 * * 0"/>
</health:PdfReport>
| Constructor Summary | |
|---|---|
PdfReport()
|
|
| Method Summary | |
|---|---|
void |
doActionImpl(HealthEvent healthEvent)
|
void |
init()
|
void |
setLogDirectory(java.lang.String logDirectory)
PDF output directory (defaults to resin log directory) |
void |
setMailFrom(java.lang.String mailFrom)
Mail from address |
void |
setMailTo(java.lang.String mailTo)
Mail address |
void |
setPath(java.lang.String path)
path to a PDF generating .php file (defaults to ${resin.home}/doc/admin/pdf-gen.php) |
void |
setPeriod(Period period)
specifies look back period of time. |
void |
setProfileTick(Period period)
Set the length of time for the cpu profile tick |
void |
setProfileTime(Period period)
Set the length of time for the report snapshot cpu profile |
void |
setReport(java.lang.String report)
report type key (default Summary) |
void |
setSnapshot(boolean isSnapshot)
Set true if the report should take a snapshot first. |
void |
setWatchdog(boolean isWatchdog)
Sets watchdog (postmortem) |
| Methods inherited from class com.caucho.health.action.AbstractHealthAction |
|---|
add, addListener, doAction, getPredicates, start, stop, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PdfReport()
| Method Detail |
|---|
@Configurable public void setPath(java.lang.String path)
@Configurable public void setReport(java.lang.String report)
@Configurable public void setPeriod(Period period)
@Configurable public void setLogDirectory(java.lang.String logDirectory)
logDirectory - @Configurable public void setMailTo(java.lang.String mailTo)
@Configurable public void setMailFrom(java.lang.String mailFrom)
@Configurable public void setSnapshot(boolean isSnapshot)
@Configurable public void setProfileTime(Period period)
@Configurable public void setProfileTick(Period period)
@Configurable public void setWatchdog(boolean isWatchdog)
@PostConstruct public void init()
init in class AbstractHealthActionpublic void doActionImpl(HealthEvent healthEvent)
doActionImpl in class AbstractHealthAction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||