Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
PluginAwareness.java
1 package org.bukkit.plugin;
2 
3 import java.util.Set;
4 
6 
7 /**
8  * Represents a concept that a plugin is aware of.
9  * <p>
10  * The internal representation may be singleton, or be a parameterized
11  * instance, but must be immutable.
12  */
13 public interface PluginAwareness {
14  /**
15  * Each entry here represents a particular plugin's awareness. These can
16  * be checked by using {@link PluginDescriptionFile#getAwareness()}.{@link
17  * Set#contains(Object) contains(flag)}.
18  */
19  public enum Flags implements PluginAwareness {
20  /**
21  * This specifies that all (text) resources stored in a plugin's jar
22  * use UTF-8 encoding.
23  *
24  * @see JavaPlugin#getTextResource(String)
25  */
27  ;
28  }
29 }