Class LimitInfo
- java.lang.Object
-
- jetbrains.buildServer.serverSide.statistics.buildtime.LimitInfo
-
public class LimitInfo extends Object
-
-
Constructor Summary
Constructors Constructor Description LimitInfo(DateRange.DateRangeType dateRangeType, long limit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
DateRange.DateRangeType
getDateRange()
long
getLimit()
String
getLimitFormatted()
int
hashCode()
boolean
isLimited()
String
toString()
-
-
-
Field Detail
-
NO_LIMIT
public static final LimitInfo NO_LIMIT
-
-
Constructor Detail
-
LimitInfo
public LimitInfo(@NotNull DateRange.DateRangeType dateRangeType, long limit)
- Parameters:
dateRangeType
- - date range type for the myLimit, e.g. 24 hours, month etclimit
- - limit in second
-
-
Method Detail
-
getDateRange
@NotNull public DateRange.DateRangeType getDateRange()
-
getLimit
public long getLimit()
-
isLimited
public boolean isLimited()
-
getLimitFormatted
public String getLimitFormatted()
-
-