Class Setting

  • All Implemented Interfaces:
    java.lang.Comparable<Setting>
    Direct Known Subclasses:
    SimpleSetting

    public abstract class Setting
    extends java.lang.Object
    implements java.lang.Comparable<Setting>
    • Constructor Summary

      Constructors 
      Constructor Description
      Setting​(java.util.List<java.lang.String> pSettingNames, java.lang.String pPermission, int pPriority)  
      Setting​(java.util.List<java.lang.String> pSettingNames, java.lang.String pPermission, int pPriority, java.lang.String pIdentifier)  
    • Constructor Detail

      • Setting

        public Setting​(java.util.List<java.lang.String> pSettingNames,
                       java.lang.String pPermission,
                       int pPriority)
      • Setting

        public Setting​(java.util.List<java.lang.String> pSettingNames,
                       java.lang.String pPermission,
                       int pPriority,
                       java.lang.String pIdentifier)
    • Method Detail

      • isApplicable

        public boolean isApplicable​(OnlinePAFPlayer pPlayer,
                                    java.lang.String pSettingName)
      • getName

        protected java.lang.String getName()
      • changeSetting

        public abstract void changeSetting​(OnlinePAFPlayer pPlayer,
                                           java.lang.String[] pArgs)
      • outputMessage

        public abstract void outputMessage​(OnlinePAFPlayer pPlayer)
      • compareTo

        public int compareTo​(Setting pToCompare)
        Specified by:
        compareTo in interface java.lang.Comparable<Setting>