001 package org.bukkit.permissions;
002
003 import org.bukkit.entity.Player;
004
005 /**
006 * Represents an object that may become a server operator, such as a {@link
007 * Player}
008 */
009 public interface ServerOperator {
010
011 /**
012 * Checks if this object is a server operator
013 *
014 * @return true if this is an operator, otherwise false
015 */
016 public boolean isOp();
017
018 /**
019 * Sets the operator status of this object
020 *
021 * @param value New operator value
022 */
023 public void setOp(boolean value);
024 }