Class QuotaElement


  • public class QuotaElement
    extends java.lang.Object
    • Constructor Detail

      • QuotaElement

        public QuotaElement​(Workspace workspace,
                            long quota,
                            long quotaMaxValue,
                            int alertThreshold)
    • Method Detail

      • getWorkspace

        public Workspace getWorkspace()
      • setWorkspace

        public void setWorkspace​(Workspace workspace)
      • getQuota

        public long getQuota()
      • setQuota

        public void setQuota​(long quota)
      • getQuotaMaxValue

        public long getQuotaMaxValue()
      • setQuotaMaxValue

        public void setQuotaMaxValue​(long quotaMaxValue)
      • getAlertThreshold

        public int getAlertThreshold()
      • setAlertThreshold

        public void setAlertThreshold​(int alertThreshold)
      • isAlert

        public boolean isAlert()
      • isOver

        public boolean isOver()
      • getPercentage

        public float getPercentage()