Package com.google.gerrit.server.quota
Class QuotaResponse.Aggregated
java.lang.Object
com.google.gerrit.server.quota.QuotaResponse.Aggregated
- Enclosing class:
QuotaResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableList
<QuotaResponse> all()
static QuotaResponse.Aggregated
create
(Collection<QuotaResponse> responses) com.google.common.collect.ImmutableList
<QuotaResponse> error()
boolean
hasError()
com.google.common.collect.ImmutableList
<QuotaResponse> ok()
protected abstract com.google.common.collect.ImmutableList
<QuotaResponse> void
-
Constructor Details
-
Aggregated
public Aggregated()
-
-
Method Details
-
create
-
responses
-
hasError
public boolean hasError() -
all
-
ok
-
availableTokens
-
error
-
errorMessage
-
throwOnError
- Throws:
QuotaException
-