<li><ahref="../../../../com/comphenix/protocol/metrics/Updater.html"title="class in com.comphenix.protocol.metrics"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../com/comphenix/protocol/metrics/Updater.UpdateType.html"title="enum in com.comphenix.protocol.metrics"><spanclass="strong">Next Class</span></a></li>
<li>java.lang.Enum<<ahref="../../../../com/comphenix/protocol/metrics/Updater.UpdateResult.html"title="enum in com.comphenix.protocol.metrics">Updater.UpdateResult</a>></li>
<dd>java.io.Serializable, java.lang.Comparable<<ahref="../../../../com/comphenix/protocol/metrics/Updater.UpdateResult.html"title="enum in com.comphenix.protocol.metrics">Updater.UpdateResult</a>></dd>
</dl>
<dl>
<dt>Enclosing class:</dt>
<dd><ahref="../../../../com/comphenix/protocol/metrics/Updater.html"title="class in com.comphenix.protocol.metrics">Updater</a></dd>
extends java.lang.Enum<<ahref="../../../../com/comphenix/protocol/metrics/Updater.UpdateResult.html"title="enum in com.comphenix.protocol.metrics">Updater.UpdateResult</a>></pre>
<divclass="block">Gives the dev the result of the update process. Can be obtained by called getResult().</div>
<tableclass="overviewSummary"border="0"cellpadding="3"cellspacing="0"summary="Enum Constant Summary table, listing enum constants, and an explanation">
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../../com/comphenix/protocol/metrics/Updater.UpdateResult.html"title="enum in com.comphenix.protocol.metrics">Updater.UpdateResult</a></code></td>
<tdclass="colFirst"><code>static <ahref="../../../../com/comphenix/protocol/metrics/Updater.UpdateResult.html"title="enum in com.comphenix.protocol.metrics">Updater.UpdateResult</a></code></td>
<divclass="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../../com/comphenix/protocol/metrics/Updater.UpdateResult.html"title="enum in com.comphenix.protocol.metrics">Updater.UpdateResult</a>[]</code></td>
<pre>public static final <ahref="../../../../com/comphenix/protocol/metrics/Updater.UpdateResult.html"title="enum in com.comphenix.protocol.metrics">Updater.UpdateResult</a> SUCCESS</pre>
<divclass="block">The updater found an update, and has readied it to be loaded the next time the server restarts/reloads.</div>
</li>
</ul>
<aname="NO_UPDATE">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>NO_UPDATE</h4>
<pre>public static final <ahref="../../../../com/comphenix/protocol/metrics/Updater.UpdateResult.html"title="enum in com.comphenix.protocol.metrics">Updater.UpdateResult</a> NO_UPDATE</pre>
<divclass="block">The updater did not find an update, and nothing was downloaded.</div>
</li>
</ul>
<aname="FAIL_DOWNLOAD">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>FAIL_DOWNLOAD</h4>
<pre>public static final <ahref="../../../../com/comphenix/protocol/metrics/Updater.UpdateResult.html"title="enum in com.comphenix.protocol.metrics">Updater.UpdateResult</a> FAIL_DOWNLOAD</pre>
<divclass="block">The updater found an update, but was unable to download it.</div>
</li>
</ul>
<aname="FAIL_DBO">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>FAIL_DBO</h4>
<pre>public static final <ahref="../../../../com/comphenix/protocol/metrics/Updater.UpdateResult.html"title="enum in com.comphenix.protocol.metrics">Updater.UpdateResult</a> FAIL_DBO</pre>
<divclass="block">For some reason, the updater was unable to contact dev.bukkit.org to download the file.</div>
</li>
</ul>
<aname="FAIL_NOVERSION">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>FAIL_NOVERSION</h4>
<pre>public static final <ahref="../../../../com/comphenix/protocol/metrics/Updater.UpdateResult.html"title="enum in com.comphenix.protocol.metrics">Updater.UpdateResult</a> FAIL_NOVERSION</pre>
<divclass="block">When running the version check, the file on DBO did not contain the a version in the format 'vVersion' such as 'v1.0'.</div>
</li>
</ul>
<aname="FAIL_BADSLUG">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>FAIL_BADSLUG</h4>
<pre>public static final <ahref="../../../../com/comphenix/protocol/metrics/Updater.UpdateResult.html"title="enum in com.comphenix.protocol.metrics">Updater.UpdateResult</a> FAIL_BADSLUG</pre>
<divclass="block">The slug provided by the plugin running the updater was invalid and doesn't exist on DBO.</div>
</li>
</ul>
<aname="UPDATE_AVAILABLE">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>UPDATE_AVAILABLE</h4>
<pre>public static final <ahref="../../../../com/comphenix/protocol/metrics/Updater.UpdateResult.html"title="enum in com.comphenix.protocol.metrics">Updater.UpdateResult</a> UPDATE_AVAILABLE</pre>
<divclass="block">The updater found an update, but because of the UpdateType being set to NO_DOWNLOAD, it wasn't downloaded.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ulclass="blockList">
<liclass="blockList"><aname="method_detail">
<!---->
</a>
<h3>Method Detail</h3>
<aname="values()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>values</h4>
<pre>public static <ahref="../../../../com/comphenix/protocol/metrics/Updater.UpdateResult.html"title="enum in com.comphenix.protocol.metrics">Updater.UpdateResult</a>[] values()</pre>
<divclass="block">Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
<pre>
for (Updater.UpdateResult c : Updater.UpdateResult.values())
System.out.println(c);
</pre></div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>an array containing the constants of this enum type, in
the order they are declared</dd></dl>
</li>
</ul>
<aname="valueOf(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>valueOf</h4>
<pre>public static <ahref="../../../../com/comphenix/protocol/metrics/Updater.UpdateResult.html"title="enum in com.comphenix.protocol.metrics">Updater.UpdateResult</a> valueOf(java.lang.String name)</pre>
<divclass="block">Returns the enum constant of this type with the specified name.
The string must match <i>exactly</i> an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant
with the specified name</dd>
<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd></dl>
</li>
</ul>
<aname="getValue()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getValue</h4>
<pre>public int getValue()</pre>
</li>
</ul>
<aname="getResult(int)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getResult</h4>
<pre>public static <ahref="../../../../com/comphenix/protocol/metrics/Updater.UpdateResult.html"title="enum in com.comphenix.protocol.metrics">Updater.UpdateResult</a> getResult(int value)</pre>
<dd><code>toString</code> in class <code>java.lang.Enum<<ahref="../../../../com/comphenix/protocol/metrics/Updater.UpdateResult.html"title="enum in com.comphenix.protocol.metrics">Updater.UpdateResult</a>></code></dd>
<li><ahref="../../../../com/comphenix/protocol/metrics/Updater.html"title="class in com.comphenix.protocol.metrics"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../com/comphenix/protocol/metrics/Updater.UpdateType.html"title="enum in com.comphenix.protocol.metrics"><spanclass="strong">Next Class</span></a></li>