|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DirViewMBean
Allows viewing of selected contents of a selected directory
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
void |
emailFiles(String addressesOrEmailList,
String subject,
boolean oneMessagePerFile,
boolean recursive)
E-mail files filtered as per MBean attributes Supported API: true |
void |
emailFiles(String addressesOrEmailList,
String subject,
boolean oneMessagePerFile,
boolean recursive,
int maxAgeInDays)
E-mail files filtered as per MBean attributes and specified file age Supported API: true |
void |
emailFiles(String addressesOrEmailList,
String subject,
boolean oneMessagePerFile,
boolean recursive,
int maxAgeInDays,
int minAgeInDays,
String matchingExpression)
E-mail files filtered as per MBean attributes, specified file age, and matching expression Supported API: true |
Boolean |
getAllowNumericSuffixes()
Whether file filter allows numeric suffixes (".1", for example) after the specified extension (ignored when FileExtensions is unspecified/null) Supported API: true |
String[] |
getFileExtensions()
Extensions of files to be shown Supported API: true |
String |
getFileMatchingExpression()
Regular expression used to filter file names shown Supported API: true |
void |
refresh()
Refresh set of MBeans aggregated by this one based on current file system state Supported API: true |
| Methods inherited from interface wt.jmx.core.mbeans.AbstractFileViewMBean |
|---|
getLastModifiedTime, getName, getPath, isExists |
| Methods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean |
|---|
emailThisMBean |
| Method Detail |
|---|
String[] getFileExtensions()
Boolean getAllowNumericSuffixes()
String getFileMatchingExpression()
void refresh()
void emailFiles(String addressesOrEmailList,
String subject,
boolean oneMessagePerFile,
boolean recursive)
throws IOException
addressesOrEmailList - Comma-delimited list of e-mail addresses or name of e-mail list to send e-mail tosubject - Subject to give e-mailoneMessagePerFile - Whether to send a separate e-mail message for each filerecursive - Whether to include files from sub-directories
IOException
void emailFiles(String addressesOrEmailList,
String subject,
boolean oneMessagePerFile,
boolean recursive,
int maxAgeInDays)
throws IOException
addressesOrEmailList - Comma-delimited list of e-mail addresses or name of e-mail list to send e-mail tosubject - Subject to give e-mailoneMessagePerFile - Whether to send a separate e-mail message for each filerecursive - Whether to include files from sub-directoriesmaxAgeInDays - Maximum age in days (by modification date) of files to e-mail
IOException
void emailFiles(String addressesOrEmailList,
String subject,
boolean oneMessagePerFile,
boolean recursive,
int maxAgeInDays,
int minAgeInDays,
String matchingExpression)
throws IOException
addressesOrEmailList - Comma-delimited list of e-mail addresses or name of e-mail list to send e-mail tosubject - Subject to give e-mailoneMessagePerFile - Whether to send a separate e-mail message for each filerecursive - Whether to include files from sub-directoriesmaxAgeInDays - Maximum age in days (by modification date) of files to e-mailminAgeInDays - Minimum age in days (by modification date) of files to e-mail; ignored when less than or equal to zeromatchingExpression - Regular expression file names must match to be e-mailed; ignored if empty or null
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||