Website/static/javadoc/dev/plex/command/annotation/CommandPermissions.html

201 lines
12 KiB
HTML
Raw Permalink Normal View History

2024-11-30 20:17:10 +00:00
<!DOCTYPE HTML>
<html lang="en">
<head>
2024-12-02 18:41:26 +00:00
<!-- Generated by javadoc (21) -->
<title>CommandPermissions (server 1.5-SNAPSHOT API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description"
content="declaration: package: dev.plex.command.annotation, annotation type: CommandPermissions">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script>
2024-11-30 20:17:10 +00:00
</head>
<body class="class-declaration-page">
<script type="text/javascript">var pathtoroot = "../../../../";
loadScripts(document, 'script');</script>
<noscript>
2024-12-02 18:41:26 +00:00
<div>JavaScript is disabled on your browser.</div>
2024-11-30 20:17:10 +00:00
</noscript>
<div class="flex-box">
2024-12-02 18:41:26 +00:00
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top">
<button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false"
aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon">&nbsp;</span><span
class="nav-bar-toggle-icon">&nbsp;</span><span class="nav-bar-toggle-icon">&nbsp;</span>
</button>
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a>
</div>
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="nav-bar-cell1-rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html#class">Help</a></li>
</ul>
<ul class="sub-nav-list-small">
<li>
<p>Summary:</p>
<ul>
<li>Field</li>
<li>Required</li>
<li><a href="#annotation-interface-optional-element-summary">Optional</a></li>
</ul>
</li>
<li>
<p>Detail:</p>
<ul>
<li>Field</li>
<li><a href="#annotation-interface-element-detail">Element</a></li>
</ul>
</li>
</ul>
</div>
<div class="sub-nav">
<div id="navbar-sub-list">
<ul class="sub-nav-list">
<li>Summary:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Required&nbsp;|&nbsp;</li>
<li><a href="#annotation-interface-optional-element-summary">Optional</a></li>
</ul>
<ul class="sub-nav-list">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#annotation-interface-element-detail">Element</a></li>
</ul>
</div>
<div class="nav-list-search"><a href="../../../../search.html">SEARCH</a>
<input type="text" id="search-input" disabled placeholder="Search">
<input type="reset" id="reset-button" disabled value="reset">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a
href="package-summary.html">dev.plex.command.annotation</a></div>
<h1 title="Annotation Interface CommandPermissions" class="title">Annotation Interface
CommandPermissions</h1>
</div>
<section class="class-description" id="class-description">
<hr>
<div class="type-signature"><span class="annotations"><a
href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/annotation/Retention.html"
title="class or interface in java.lang.annotation" class="external-link">@Retention</a>(<a
href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/annotation/RetentionPolicy.html#RUNTIME"
title="class or interface in java.lang.annotation" class="external-link">RUNTIME</a>)
</span><span class="modifiers">public @interface </span><span
class="element-name type-name-label">CommandPermissions</span></div>
<div class="block">Storage for the command's permissions</div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- =========== ANNOTATION INTERFACE OPTIONAL MEMBER SUMMARY =========== -->
<li>
<section class="member-summary" id="annotation-interface-optional-element-summary">
<h2>Optional Element Summary</h2>
<div class="caption"><span>Optional Elements</span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Optional Element</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code><a
href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html"
title="class or interface in java.lang" class="external-link">String</a></code>
</div>
<div class="col-second even-row-color"><code><a href="#permission()"
class="member-name-link">permission</a></code>
</div>
<div class="col-last even-row-color">
<div class="block">The permission</div>
</div>
<div class="col-first odd-row-color"><code><a
href="../source/RequiredCommandSource.html"
title="enum class in dev.plex.command.source">RequiredCommandSource</a></code>
</div>
<div class="col-second odd-row-color"><code><a href="#source()"
class="member-name-link">source</a></code>
</div>
<div class="col-last odd-row-color">
<div class="block">Required command source</div>
</div>
</div>
</section>
</li>
</ul>
</section>
<section class="details" id="annotation-interface-element-detail">
<ul class="details-list">
<!-- ============ ANNOTATION INTERFACE MEMBER DETAIL =========== -->
<li>
<section class="member-details">
<h2>Element Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="source()">
<h3>source</h3>
<div class="member-signature"><span class="return-type"><a
href="../source/RequiredCommandSource.html"
title="enum class in dev.plex.command.source">RequiredCommandSource</a></span>&nbsp;<span
class="element-name">source</span></div>
<div class="block">Required command source</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The required command source of the command</dd>
<dt>See Also:</dt>
<dd>
<ul class="tag-list">
<li><a href="../source/RequiredCommandSource.html"
title="enum class in dev.plex.command.source"><code>RequiredCommandSource</code></a>
</li>
</ul>
</dd>
</dl>
<dl class="notes">
<dt>Default:</dt>
<dd><code>ANY</code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="permission()">
<h3>permission</h3>
<div class="member-signature"><span class="return-type"><a
href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/String.html"
title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span
class="element-name">permission</span></div>
<div class="block">The permission</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Permission of the command</dd>
</dl>
<dl class="notes">
<dt>Default:</dt>
<dd><code>""</code></dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
</main>
</div>
2024-11-30 20:17:10 +00:00
</div>
</body>
</html>