1 /*------------------------------------------------------------------------------
2 Name: FilePollerPluginMBean.java
3 Project: xmlBlaster.org
4 Copyright: xmlBlaster.org, see xmlBlaster-LICENSE file
5 ------------------------------------------------------------------------------*/
6 package org.xmlBlaster.client.filepoller;
7
8 import org.xmlBlaster.util.admin.I_AdminService;
9
10 /**
11 * JMX control for the native FilePollerPlugin.
12 * @author <a href="mailto:xmlBlaster@marcelruff.info">Marcel Ruff</a>
13 * @deprectated it is now replaced by the corresponding class in org.xmlBlaster.contrib.filewatcher
14 */
15 public interface FilePollerPluginMBean extends I_AdminService {
16 /**
17 * Triggers a filepoller scan.
18 */
19 public String triggerScan();
20
21 /**
22 * @return Returns the directoryName.
23 */
24 public String getDirectoryName();
25
26 /**
27 * @param directoryName The directoryName to set.
28 */
29 public void setDirectoryName(String directoryName);
30
31 /**
32 * @return Returns the fileFilter.
33 */
34 public String getFileFilter();
35
36 /**
37 * @param fileFilter The fileFilter to set.
38 */
39 public void setFileFilter(String fileFilter);
40
41 /**
42 * @return Returns the filterType.
43 */
44 public String getFilterType();
45
46 /**
47 * @param filterType The filterType to set.
48 */
49 public void setFilterType(String filterType);
50
51 /**
52 * @return Returns the maximumFileSize.
53 */
54 public long getMaximumFileSize();
55
56 /**
57 * @param maximumFileSize The maximumFileSize to set.
58 */
59 public void setMaximumFileSize(long maximumFileSize);
60
61 /**
62 * @return Returns the pollInterval.
63 */
64 public long getPollInterval();
65
66 /**
67 * @param pollInterval The pollInterval to set.
68 */
69 public void setPollInterval(long pollInterval);
70
71 /**
72 * @return Returns the copyOnMove.
73 */
74 public boolean isCopyOnMove();
75
76 /**
77 * @param copyOnMove The copyOnMove to set.
78 */
79 public void setCopyOnMove(boolean copyOnMove);
80
81 /**
82 * @return Returns the delaySinceLastFileChange.
83 */
84 public long getDelaySinceLastFileChange();
85
86 /**
87 * @param delaySinceLastFileChange The delaySinceLastFileChange to set.
88 */
89 public void setDelaySinceLastFileChange(long delaySinceLastFileChange);
90
91 /**
92 * @return Returns the discarded.
93 */
94 public String getDiscarded();
95
96 /**
97 * @param discarded The discarded to set.
98 */
99 public void setDiscarded(String discarded);
100
101 /**
102 * @return Returns the lockExtention.
103 */
104 public String getLockExtention();
105
106 /**
107 * @param lockExtention The lockExtention to set.
108 */
109 public void setLockExtention(String lockExtention);
110
111 /**
112 * @return Returns the sent.
113 */
114 public String getSent();
115
116 /**
117 * @param sent The sent to set.
118 */
119 public void setSent(String sent);
120 }
syntax highlighted by Code2HTML, v. 0.9.1