Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.54 KB | None | 0 0
  1.  
  2. public enum  SettingParams {
  3.     PLAYER_VISABILITY("player-visability", true),
  4.     CHAT_VISABILITY("chat-visability", true),
  5.     JOIN_MESSAGE_VISABILITY("join-message-visability", true),
  6.     PREMIUM_AUTH("premium-auth", false);
  7.  
  8.     private String param;
  9.     private boolean state;
  10.  
  11.     public String getParam()
  12.     {
  13.         return param;
  14.     }
  15.  
  16.     public boolean getState() {
  17.         return state;
  18.     }
  19.  
  20.     SettingParams(String param, boolean state)
  21.     {
  22.         this.param = param;
  23.         this.state = state;
  24.     }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement