public class QuotaElement
extends java.lang.Object
Constructor and Description |
---|
QuotaElement(Workspace workspace,
long quota,
long quotaMaxValue,
int alertThreshold) |
Modifier and Type | Method and Description |
---|---|
int |
getAlertThreshold() |
float |
getPercentage() |
long |
getQuota() |
long |
getQuotaMaxValue() |
Workspace |
getWorkspace() |
boolean |
isAlert() |
boolean |
isOver() |
void |
setAlertThreshold(int alertThreshold) |
void |
setQuota(long quota) |
void |
setQuotaMaxValue(long quotaMaxValue) |
void |
setWorkspace(Workspace workspace) |
public QuotaElement(Workspace workspace, long quota, long quotaMaxValue, int alertThreshold)
public Workspace getWorkspace()
public void setWorkspace(Workspace workspace)
public long getQuota()
public void setQuota(long quota)
public long getQuotaMaxValue()
public void setQuotaMaxValue(long quotaMaxValue)
public int getAlertThreshold()
public void setAlertThreshold(int alertThreshold)
public boolean isAlert()
public boolean isOver()
public float getPercentage()
Copyright © 2001-2010 Jalios SA. All Rights Reserved.