Class JobSelection

java.lang.Object
gg.xp.xivdata.data.JobSelection
Direct Known Subclasses:
CombatJobSelection

public class JobSelection extends Object
  • Field Details

    • enabledForAll

      protected boolean enabledForAll
    • enabledTypes

      protected final Set<JobType> enabledTypes
    • enabledJobs

      protected final Set<Job> enabledJobs
  • Constructor Details

    • JobSelection

      public JobSelection()
  • Method Details

    • enabledForJob

      public boolean enabledForJob(Job job)
    • isTypeAllowed

      public boolean isTypeAllowed(JobType type)
    • isJobAllowed

      public boolean isJobAllowed(Job job)
    • none

      public static JobSelection none()
    • all

      public static JobSelection all()
    • stateForJob

      public JobSelectionState stateForJob(Job job)
    • stateForCategory

      public JobSelectionState stateForCategory(JobType type)
    • changeCategoryState

      public void changeCategoryState(JobType type, boolean enabled)
    • changeJobState

      public void changeJobState(Job job, boolean enabled)
    • isEnabledForAll

      public boolean isEnabledForAll()
    • setEnabledForAll

      public void setEnabledForAll(boolean enabledForAll)
    • getEnabledTypes

      public Set<JobType> getEnabledTypes()
    • getEnabledJobs

      public Set<Job> getEnabledJobs()
    • describeSelection

      public String describeSelection()
    • isEmpty

      public boolean isEmpty()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object