<li><ahref="../../../../de/epiceric/shopchest/utils/ClickType.EnumClickType.html"title="enum in de.epiceric.shopchest.utils"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../de/epiceric/shopchest/utils/Metrics.Graph.html"title="class in de.epiceric.shopchest.utils"><spanclass="typeNameLink">Next Class</span></a></li>
<li><ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ulclass="inheritance">
<li>de.epiceric.shopchest.utils.Metrics</li>
</ul>
</li>
</ul>
<divclass="description">
<ulclass="blockList">
<liclass="blockList">
<hr>
<br>
<pre>public class <spanclass="typeNameLabel">Metrics</span>
extends <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></pre>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../de/epiceric/shopchest/utils/Metrics.Graph.html"title="class in de.epiceric.shopchest.utils">Metrics.Graph</a></span></code>
<divclass="block">Represents a custom graph on the website</div>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../de/epiceric/shopchest/utils/Metrics.Plotter.html"title="class in de.epiceric.shopchest.utils">Metrics.Plotter</a></span></code>
<divclass="block">Interface used to collect custom data for a plugin</div>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trid="i0"class="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../de/epiceric/shopchest/utils/Metrics.html#addGraph-de.epiceric.shopchest.utils.Metrics.Graph-">addGraph</a></span>(<ahref="../../../../de/epiceric/shopchest/utils/Metrics.Graph.html"title="class in de.epiceric.shopchest.utils">Metrics.Graph</a> graph)</code>
<divclass="block">Add a Graph object to BukkitMetrics that represents data for the plugin that should be sent to the backend</div>
</td>
</tr>
<trid="i1"class="rowColor">
<tdclass="colFirst"><code><ahref="../../../../de/epiceric/shopchest/utils/Metrics.Graph.html"title="class in de.epiceric.shopchest.utils">Metrics.Graph</a></code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../de/epiceric/shopchest/utils/Metrics.html#createGraph-java.lang.String-">createGraph</a></span>(<ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> name)</code>
<divclass="block">Construct and create a Graph that can be used to separate specific plotters to their own graphs on the metrics
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../de/epiceric/shopchest/utils/Metrics.html#gzip-java.lang.String-">gzip</a></span>(<ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> input)</code>
<divclass="block">GZip compress a string of bytes</div>
<h3>Methods inherited from class java.lang.<ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></h3>
<code><ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--"title="class or interface in java.lang">clone</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-"title="class or interface in java.lang">equals</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--"title="class or interface in java.lang">finalize</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--"title="class or interface in java.lang">getClass</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--"title="class or interface in java.lang">hashCode</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--"title="class or interface in java.lang">notify</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--"title="class or interface in java.lang">notifyAll</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--"title="class or interface in java.lang">toString</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--"title="class or interface in java.lang">wait</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-"title="class or interface in java.lang">wait</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-"title="class or interface in java.lang">wait</a></code></li>
throws <ahref="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true"title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code><ahref="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true"title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ulclass="blockList">
<liclass="blockList"><aname="method.detail">
<!---->
</a>
<h3>Method Detail</h3>
<aname="gzip-java.lang.String-">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>gzip</h4>
<pre>public static byte[] gzip(<ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> input)</pre>
<divclass="block">GZip compress a string of bytes</div>
<pre>public <ahref="../../../../de/epiceric/shopchest/utils/Metrics.Graph.html"title="class in de.epiceric.shopchest.utils">Metrics.Graph</a> createGraph(<ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> name)</pre>
<divclass="block">Construct and create a Graph that can be used to separate specific plotters to their own graphs on the metrics
website. Plotters can be added to the graph object returned.</div>
<pre>public void addGraph(<ahref="../../../../de/epiceric/shopchest/utils/Metrics.Graph.html"title="class in de.epiceric.shopchest.utils">Metrics.Graph</a> graph)</pre>
<divclass="block">Add a Graph object to BukkitMetrics that represents data for the plugin that should be sent to the backend</div>
<dd><code>graph</code> - The name of the graph</dd>
</dl>
</li>
</ul>
<aname="start--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>start</h4>
<pre>public boolean start()</pre>
<divclass="block">Start measuring statistics. This will immediately create an async repeating task as the plugin and send the
initial data to the metrics backend, and then after that it will post in increments of PING_INTERVAL * 1200
ticks.</div>
<dl>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>True if statistics measuring is running, otherwise false.</dd>
</dl>
</li>
</ul>
<aname="isOptOut--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>isOptOut</h4>
<pre>public boolean isOptOut()</pre>
<divclass="block">Has the server owner denied plugin metrics?</div>
<dl>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>true if metrics should be opted out of it</dd>
</dl>
</li>
</ul>
<aname="enable--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>enable</h4>
<pre>public void enable()
throws <ahref="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true"title="class or interface in java.io">IOException</a></pre>
<divclass="block">Enables metrics for the server by setting "opt-out" to false in the config file and starting the metrics task.</div>
<dl>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code><ahref="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true"title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<aname="disable--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>disable</h4>
<pre>public void disable()
throws <ahref="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true"title="class or interface in java.io">IOException</a></pre>
<divclass="block">Disables metrics for the server by setting "opt-out" to true in the config file and canceling the metrics task.</div>
<dl>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code><ahref="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true"title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<aname="getConfigFile--">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>getConfigFile</h4>
<pre>public <ahref="http://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true"title="class or interface in java.io">File</a> getConfigFile()</pre>
<divclass="block">Gets the File object of the config file that should be used to store data such as the GUID and opt-out status</div>
<li><ahref="../../../../de/epiceric/shopchest/utils/ClickType.EnumClickType.html"title="enum in de.epiceric.shopchest.utils"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../de/epiceric/shopchest/utils/Metrics.Graph.html"title="class in de.epiceric.shopchest.utils"><spanclass="typeNameLink">Next Class</span></a></li>