You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<dd><ahref="WatchServiceListener.html" title="class in org.spongepowered.configurate.reference">WatchServiceListener</a></dd>
81
81
</dl>
82
82
<hr>
83
-
<divclass="type-signature"><spanclass="modifiers">public static final class </span><spanclass="element-name"><ahref="../../../../src-html/org/spongepowered/configurate/reference/WatchServiceListener.html#line-256">WatchServiceListener.Builder</a></span>
83
+
<divclass="type-signature"><spanclass="modifiers">public static final class </span><spanclass="element-name"><ahref="../../../../src-html/org/spongepowered/configurate/reference/WatchServiceListener.html#line-257">WatchServiceListener.Builder</a></span>
84
84
<spanclass="extends-implements">extends <ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span></div>
85
85
<divclass="block">Set the parameters needed to create a <ahref="WatchServiceListener.html" title="class in org.spongepowered.configurate.reference"><code>WatchServiceListener</code></a>. All params are optional and defaults will be
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="WatchServiceListener.Builder.html" title="class in org.spongepowered.configurate.reference">WatchServiceListener.Builder</a></span> <spanclass="element-name"><ahref="../../../../src-html/org/spongepowered/configurate/reference/WatchServiceListener.Builder.html#line-272">threadFactory</a></span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ThreadFactory.html" title="class or interface in java.util.concurrent" class="external-link">ThreadFactory</a> factory)</span></div>
147
+
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="WatchServiceListener.Builder.html" title="class in org.spongepowered.configurate.reference">WatchServiceListener.Builder</a></span> <spanclass="element-name"><ahref="../../../../src-html/org/spongepowered/configurate/reference/WatchServiceListener.Builder.html#line-273">threadFactory</a></span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ThreadFactory.html" title="class or interface in java.util.concurrent" class="external-link">ThreadFactory</a> factory)</span></div>
148
148
<divclass="block">Set the thread factory that will be used to create the polling thread
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="WatchServiceListener.Builder.html" title="class in org.spongepowered.configurate.reference">WatchServiceListener.Builder</a></span> <spanclass="element-name"><ahref="../../../../src-html/org/spongepowered/configurate/reference/WatchServiceListener.Builder.html#line-286">taskExecutor</a></span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Executor.html" title="class or interface in java.util.concurrent" class="external-link">Executor</a> executor)</span></div>
163
+
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="WatchServiceListener.Builder.html" title="class in org.spongepowered.configurate.reference">WatchServiceListener.Builder</a></span> <spanclass="element-name"><ahref="../../../../src-html/org/spongepowered/configurate/reference/WatchServiceListener.Builder.html#line-287">taskExecutor</a></span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Executor.html" title="class or interface in java.util.concurrent" class="external-link">Executor</a> executor)</span></div>
164
164
<divclass="block">Set the executor that will be used to execute tasks queued based on
165
165
received events. By default, the
166
166
<ahref="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ForkJoinPool.html#commonPool--" title="class or interface in java.util.concurrent" class="external-link"><code>common pool</code></a> is used.</div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="WatchServiceListener.Builder.html" title="class in org.spongepowered.configurate.reference">WatchServiceListener.Builder</a></span> <spanclass="element-name"><ahref="../../../../src-html/org/spongepowered/configurate/reference/WatchServiceListener.Builder.html#line-300">fileSystem</a></span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/javase/8/docs/api/java/nio/file/FileSystem.html" title="class or interface in java.nio.file" class="external-link">FileSystem</a> system)</span></div>
180
+
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="WatchServiceListener.Builder.html" title="class in org.spongepowered.configurate.reference">WatchServiceListener.Builder</a></span> <spanclass="element-name"><ahref="../../../../src-html/org/spongepowered/configurate/reference/WatchServiceListener.Builder.html#line-301">fileSystem</a></span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/javase/8/docs/api/java/nio/file/FileSystem.html" title="class or interface in java.nio.file" class="external-link">FileSystem</a> system)</span></div>
181
181
<divclass="block">Set the filesystem expected to be used for paths. A separate
182
182
<ahref="WatchServiceListener.html" title="class in org.spongepowered.configurate.reference"><code>WatchServiceListener</code></a> should be created to listen to events on
183
183
each different file system.</div>
@@ -194,7 +194,7 @@ <h3>fileSystem</h3>
194
194
<li>
195
195
<sectionclass="detail" id="build()">
196
196
<h3>build</h3>
197
-
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="WatchServiceListener.html" title="class in org.spongepowered.configurate.reference">WatchServiceListener</a></span> <spanclass="element-name"><ahref="../../../../src-html/org/spongepowered/configurate/reference/WatchServiceListener.Builder.html#line-312">build</a></span>()
197
+
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="WatchServiceListener.html" title="class in org.spongepowered.configurate.reference">WatchServiceListener</a></span> <spanclass="element-name"><ahref="../../../../src-html/org/spongepowered/configurate/reference/WatchServiceListener.Builder.html#line-313">build</a></span>()
198
198
throws <spanclass="exceptions"><ahref="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div>
199
199
<divclass="block">Create a new listener, using default values for any unset parameters.</div>
Copy file name to clipboardExpand all lines: configurate/core/4.2.0-SNAPSHOT/org/spongepowered/configurate/reference/WatchServiceListener.html
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -182,7 +182,7 @@ <h2>Method Details</h2>
182
182
<li>
183
183
<sectionclass="detail" id="builder()">
184
184
<h3>builder</h3>
185
-
<divclass="member-signature"><spanclass="modifiers">public static</span> <spanclass="return-type"><ahref="WatchServiceListener.Builder.html" title="class in org.spongepowered.configurate.reference">WatchServiceListener.Builder</a></span> <spanclass="element-name"><ahref="../../../../src-html/org/spongepowered/configurate/reference/WatchServiceListener.html#line-83">builder</a></span>()</div>
185
+
<divclass="member-signature"><spanclass="modifiers">public static</span> <spanclass="return-type"><ahref="WatchServiceListener.Builder.html" title="class in org.spongepowered.configurate.reference">WatchServiceListener.Builder</a></span> <spanclass="element-name"><ahref="../../../../src-html/org/spongepowered/configurate/reference/WatchServiceListener.html#line-84">builder</a></span>()</div>
186
186
<divclass="block">Returns a new builder for a WatchServiceListener to create a
187
187
customized listener.</div>
188
188
<dlclass="notes">
@@ -196,7 +196,7 @@ <h3>builder</h3>
196
196
<li>
197
197
<sectionclass="detail" id="create()">
198
198
<h3>create</h3>
199
-
<divclass="member-signature"><spanclass="modifiers">public static</span> <spanclass="return-type"><ahref="WatchServiceListener.html" title="class in org.spongepowered.configurate.reference">WatchServiceListener</a></span> <spanclass="element-name"><ahref="../../../../src-html/org/spongepowered/configurate/reference/WatchServiceListener.html#line-96">create</a></span>()
199
+
<divclass="member-signature"><spanclass="modifiers">public static</span> <spanclass="return-type"><ahref="WatchServiceListener.html" title="class in org.spongepowered.configurate.reference">WatchServiceListener</a></span> <spanclass="element-name"><ahref="../../../../src-html/org/spongepowered/configurate/reference/WatchServiceListener.html#line-97">create</a></span>()
200
200
throws <spanclass="exceptions"><ahref="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div>
201
201
<divclass="block">Create a new <ahref="WatchServiceListener.html" title="class in org.spongepowered.configurate.reference"><code>WatchServiceListener</code></a> using a new cached thread pool
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../reactive/Disposable.html" title="interface in org.spongepowered.configurate.reactive">Disposable</a></span> <spanclass="element-name"><ahref="../../../../src-html/org/spongepowered/configurate/reference/WatchServiceListener.html#line-188">listenToFile</a></span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html" title="class or interface in java.nio.file" class="external-link">Path</a> file,
222
+
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../reactive/Disposable.html" title="interface in org.spongepowered.configurate.reactive">Disposable</a></span> <spanclass="element-name"><ahref="../../../../src-html/org/spongepowered/configurate/reference/WatchServiceListener.html#line-189">listenToFile</a></span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html" title="class or interface in java.nio.file" class="external-link">Path</a> file,
223
223
<ahref="../reactive/Subscriber.html" title="interface in org.spongepowered.configurate.reactive">Subscriber</a><<ahref="https://docs.oracle.com/javase/8/docs/api/java/nio/file/WatchEvent.html" title="class or interface in java.nio.file" class="external-link">WatchEvent</a><?>> callback)</span>
224
224
throws <spanclass="exceptions"><ahref="../ConfigurateException.html" title="class in org.spongepowered.configurate">ConfigurateException</a>,
225
225
<ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" class="external-link">IllegalArgumentException</a></span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../reactive/Disposable.html" title="interface in org.spongepowered.configurate.reactive">Disposable</a></span> <spanclass="element-name"><ahref="../../../../src-html/org/spongepowered/configurate/reference/WatchServiceListener.html#line-210">listenToDirectory</a></span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html" title="class or interface in java.nio.file" class="external-link">Path</a> directory,
244
+
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../reactive/Disposable.html" title="interface in org.spongepowered.configurate.reactive">Disposable</a></span> <spanclass="element-name"><ahref="../../../../src-html/org/spongepowered/configurate/reference/WatchServiceListener.html#line-211">listenToDirectory</a></span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html" title="class or interface in java.nio.file" class="external-link">Path</a> directory,
245
245
<ahref="../reactive/Subscriber.html" title="interface in org.spongepowered.configurate.reactive">Subscriber</a><<ahref="https://docs.oracle.com/javase/8/docs/api/java/nio/file/WatchEvent.html" title="class or interface in java.nio.file" class="external-link">WatchEvent</a><?>> callback)</span>
246
246
throws <spanclass="exceptions"><ahref="../ConfigurateException.html" title="class in org.spongepowered.configurate">ConfigurateException</a>,
247
247
<ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" class="external-link">IllegalArgumentException</a></span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="type-parameters"><N extends <ahref="../ScopedConfigurationNode.html" title="interface in org.spongepowered.configurate">ScopedConfigurationNode</a><N>></span>
269
-
<spanclass="return-type"><ahref="ConfigurationReference.html" title="interface in org.spongepowered.configurate.reference">ConfigurationReference</a><N></span> <spanclass="element-name"><ahref="../../../../src-html/org/spongepowered/configurate/reference/WatchServiceListener.html#line-231">listenToConfiguration</a></span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html" title="class or interface in java.util.function" class="external-link">Function</a><<ahref="https://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html" title="class or interface in java.nio.file" class="external-link">Path</a>,<wbr><ahref="../loader/ConfigurationLoader.html" title="interface in org.spongepowered.configurate.loader">ConfigurationLoader</a><? extends N>> loaderFunc,
269
+
<spanclass="return-type"><ahref="ConfigurationReference.html" title="interface in org.spongepowered.configurate.reference">ConfigurationReference</a><N></span> <spanclass="element-name"><ahref="../../../../src-html/org/spongepowered/configurate/reference/WatchServiceListener.html#line-232">listenToConfiguration</a></span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html" title="class or interface in java.util.function" class="external-link">Function</a><<ahref="https://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html" title="class or interface in java.nio.file" class="external-link">Path</a>,<wbr><ahref="../loader/ConfigurationLoader.html" title="interface in org.spongepowered.configurate.loader">ConfigurationLoader</a><? extends N>> loaderFunc,
270
270
<ahref="https://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html" title="class or interface in java.nio.file" class="external-link">Path</a> path)</span>
271
271
throws <spanclass="exceptions"><ahref="../ConfigurateException.html" title="class in org.spongepowered.configurate">ConfigurateException</a></span></div>
272
272
<divclass="block">Create a new <ahref="ConfigurationReference.html" title="interface in org.spongepowered.configurate.reference"><code>ConfigurationReference</code></a> subscribed to FS updates.</div>
throws <spanclass="exceptions"><ahref="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div>
0 commit comments