<li><ahref="../../../../com/comphenix/protocol/injector/BukkitUnwrapper.html"title="class in com.comphenix.protocol.injector"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../com/comphenix/protocol/injector/GamePhase.html"title="enum in com.comphenix.protocol.injector"><spanclass="strong">Next Class</span></a></li>
<tdclass="colFirst"><code>protected <ahref="http://jd.bukkit.org/apidocs/org/bukkit/plugin/Plugin.html?is-external=true"title="class or interface in org.bukkit.plugin">Plugin</a></code></td>
<tdclass="colFirst"><code>protected <ahref="http://jd.bukkit.org/apidocs/org/bukkit/scheduler/BukkitScheduler.html?is-external=true"title="class or interface in org.bukkit.scheduler">BukkitScheduler</a></code></td>
<tdclass="colOne"><code><strong><ahref="../../../../com/comphenix/protocol/injector/DelayedSingleTask.html#DelayedSingleTask(org.bukkit.plugin.Plugin)">DelayedSingleTask</a></strong>(<ahref="http://jd.bukkit.org/apidocs/org/bukkit/plugin/Plugin.html?is-external=true"title="class or interface in org.bukkit.plugin">Plugin</a> plugin)</code>
<tdclass="colOne"><code><strong><ahref="../../../../com/comphenix/protocol/injector/DelayedSingleTask.html#DelayedSingleTask(org.bukkit.plugin.Plugin, org.bukkit.scheduler.BukkitScheduler)">DelayedSingleTask</a></strong>(<ahref="http://jd.bukkit.org/apidocs/org/bukkit/plugin/Plugin.html?is-external=true"title="class or interface in org.bukkit.plugin">Plugin</a> plugin,
<ahref="http://jd.bukkit.org/apidocs/org/bukkit/scheduler/BukkitScheduler.html?is-external=true"title="class or interface in org.bukkit.scheduler">BukkitScheduler</a> scheduler)</code>
<tdclass="colFirst"><code><ahref="http://jd.bukkit.org/apidocs/org/bukkit/plugin/Plugin.html?is-external=true"title="class or interface in org.bukkit.plugin">Plugin</a></code></td>
<pre>protected <ahref="http://jd.bukkit.org/apidocs/org/bukkit/plugin/Plugin.html?is-external=true"title="class or interface in org.bukkit.plugin">Plugin</a> plugin</pre>
<pre>protected <ahref="http://jd.bukkit.org/apidocs/org/bukkit/scheduler/BukkitScheduler.html?is-external=true"title="class or interface in org.bukkit.scheduler">BukkitScheduler</a> scheduler</pre>
<pre>public DelayedSingleTask(<ahref="http://jd.bukkit.org/apidocs/org/bukkit/plugin/Plugin.html?is-external=true"title="class or interface in org.bukkit.plugin">Plugin</a> plugin)</pre>
<pre>public DelayedSingleTask(<ahref="http://jd.bukkit.org/apidocs/org/bukkit/plugin/Plugin.html?is-external=true"title="class or interface in org.bukkit.plugin">Plugin</a> plugin,
<ahref="http://jd.bukkit.org/apidocs/org/bukkit/scheduler/BukkitScheduler.html?is-external=true"title="class or interface in org.bukkit.scheduler">BukkitScheduler</a> scheduler)</pre>
<divclass="block">Schedule a single task for execution.
<p>
Any previously scheduled task will be automatically cancelled.
<p>
Note that a tick delay of zero will execute the task immediately.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>ticksDelay</code> - - number of ticks before the task is executed.</dd><dd><code>task</code> - - the task to schedule.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>TRUE if the task was successfully scheduled or executed, FALSE otherwise.</dd></dl>
</li>
</ul>
<aname="isRunning()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>isRunning</h4>
<pre>public boolean isRunning()</pre>
<divclass="block">Whether or not a future task is scheduled to be executed.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>TRUE if a current task has been scheduled for execution, FALSE otherwise.</dd></dl>
</li>
</ul>
<aname="cancel()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>cancel</h4>
<pre>public boolean cancel()</pre>
<divclass="block">Cancel a future task from being executed.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>TRUE if a task was cancelled, FALSE otherwise.</dd></dl>
</li>
</ul>
<aname="getTaskID()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getTaskID</h4>
<pre>public int getTaskID()</pre>
<divclass="block">Retrieve the raw task ID.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>Raw task ID, or negative one if no task has been scheduled.</dd></dl>
<pre>public <ahref="http://jd.bukkit.org/apidocs/org/bukkit/plugin/Plugin.html?is-external=true"title="class or interface in org.bukkit.plugin">Plugin</a> getPlugin()</pre>
<li><ahref="../../../../com/comphenix/protocol/injector/BukkitUnwrapper.html"title="class in com.comphenix.protocol.injector"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../com/comphenix/protocol/injector/GamePhase.html"title="enum in com.comphenix.protocol.injector"><spanclass="strong">Next Class</span></a></li>