Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
ServerOperator.java
1 package org.bukkit.permissions;
2 
3 import org.bukkit.entity.Player;
4 
5 /**
6  * Represents an object that may become a server operator, such as a {@link
7  * Player}
8  */
9 public interface ServerOperator {
10 
11  /**
12  * Checks if this object is a server operator
13  *
14  * @return true if this is an operator, otherwise false
15  */
16  public boolean isOp();
17 
18  /**
19  * Sets the operator status of this object
20  *
21  * @param value New operator value
22  */
23  public void setOp(boolean value);
24 }