<li><ahref="../../../../com/djrapitops/plan/capability/CapabilityService.CapabilityServiceHolder.html"title="class in com.djrapitops.plan.capability"><spanclass="typeNameLink">Next Class</span></a></li>
<dd><ahref="../../../../com/djrapitops/plan/capability/CapabilityServiceImplementation.html"title="class in com.djrapitops.plan.capability">CapabilityServiceImplementation</a></dd>
<divclass="block">Service for figuring out provided API capabilities.
<p>
<ahref="../../../../com/djrapitops/plan/capability/CapabilityService.html#registerEnableListener-java.util.function.Consumer-"><code>registerEnableListener(Consumer)</code></a> to be notified of Plan reloads
<ahref="../../../../com/djrapitops/plan/capability/CapabilityService.html#hasCapability-java.lang.String-"><code>hasCapability(String)</code></a> to check if a capability is available.
<p>
See <code>Capability</code> for list of capabilities provided by the current version.</div>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../com/djrapitops/plan/capability/CapabilityService.CapabilityServiceHolder.html"title="class in com.djrapitops.plan.capability">CapabilityService.CapabilityServiceHolder</a></span></code> </td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ulclass="blockList">
<liclass="blockList"><aname="method.summary">
<!---->
</a>
<h3>Method Summary</h3>
<tableclass="memberSummary"border="0"cellpadding="3"cellspacing="0"summary="Method Summary table, listing methods, and an explanation">
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trid="i0"class="altColor">
<tdclass="colFirst"><code>static <ahref="../../../../com/djrapitops/plan/capability/CapabilityService.html"title="interface in com.djrapitops.plan.capability">CapabilityService</a></code></td>
<divclass="block">Register a method to be called when Plan reloads.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<divclass="details">
<ulclass="blockList">
<liclass="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ulclass="blockList">
<liclass="blockList"><aname="method.detail">
<!---->
</a>
<h3>Method Detail</h3>
<aname="getInstance--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getInstance</h4>
<pre>static <ahref="../../../../com/djrapitops/plan/capability/CapabilityService.html"title="interface in com.djrapitops.plan.capability">CapabilityService</a> getInstance()</pre>
<divclass="block">Obtain instance of CapabilityService.</div>
<dl>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>CapabilityService implementation.</dd>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.NoClassDefFoundError</code> - If Plan is not installed and this class can not be found or if older Plan version is installed.</dd>
<dd><code>java.lang.IllegalStateException</code> - If Plan is installed, but not enabled.</dd>
<li><ahref="../../../../com/djrapitops/plan/capability/CapabilityService.CapabilityServiceHolder.html"title="class in com.djrapitops.plan.capability"><spanclass="typeNameLink">Next Class</span></a></li>