@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","TraceQueryBase"}) @Immutable public final class TraceQuery extends TraceQueryBase
TraceQueryBase.
Use builder to create immutable instances:
TraceQuery.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
TraceQuery.Builder
Builds instances of
TraceQuery. |
TraceQueryBase.StringComparator| Modifier and Type | Method and Description |
|---|---|
static TraceQuery.Builder |
builder()
Creates builder for
TraceQuery. |
static TraceQuery |
copyOf(TraceQueryBase instance)
Creates immutable copy of
TraceQueryBase. |
String |
customAttributeName() |
String |
customAttributeValue() |
TraceQueryBase.StringComparator |
customAttributeValueComparator() |
Long |
durationHigh() |
long |
durationLow() |
boolean |
equals(Object another)
This instance is equal to instances of
TraceQuery with equal attribute values. |
String |
error() |
TraceQueryBase.StringComparator |
errorComparator() |
boolean |
errorOnly() |
long |
from() |
int |
hashCode()
Computes hash code from attributes:
from, to, durationLow, durationHigh, transactionType, transactionNameComparator, transactionName, headlineComparator, headline, errorComparator, error, userComparator, user, customAttributeName, customAttributeValueComparator, customAttributeValue, errorOnly, slowOnly, limit. |
String |
headline() |
TraceQueryBase.StringComparator |
headlineComparator() |
int |
limit() |
boolean |
slowOnly() |
long |
to() |
String |
toString()
Prints immutable value
TraceQuery{...} with attribute values,
excluding any non-generated and auxiliary attributes. |
String |
transactionName() |
TraceQueryBase.StringComparator |
transactionNameComparator() |
String |
transactionType() |
String |
user() |
TraceQueryBase.StringComparator |
userComparator() |
TraceQuery |
withCustomAttributeName(String value)
Copy current immutable object by setting value for
customAttributeName. |
TraceQuery |
withCustomAttributeValue(String value)
Copy current immutable object by setting value for
customAttributeValue. |
TraceQuery |
withCustomAttributeValueComparator(TraceQueryBase.StringComparator value)
Copy current immutable object by setting value for
customAttributeValueComparator. |
TraceQuery |
withDurationHigh(Long value)
Copy current immutable object by setting value for
durationHigh. |
TraceQuery |
withDurationLow(long value)
Copy current immutable object by setting value for
durationLow. |
TraceQuery |
withError(String value)
Copy current immutable object by setting value for
error. |
TraceQuery |
withErrorComparator(TraceQueryBase.StringComparator value)
Copy current immutable object by setting value for
errorComparator. |
TraceQuery |
withErrorOnly(boolean value)
Copy current immutable object by setting value for
errorOnly. |
TraceQuery |
withFrom(long value)
Copy current immutable object by setting value for
from. |
TraceQuery |
withHeadline(String value)
Copy current immutable object by setting value for
headline. |
TraceQuery |
withHeadlineComparator(TraceQueryBase.StringComparator value)
Copy current immutable object by setting value for
headlineComparator. |
TraceQuery |
withLimit(int value)
Copy current immutable object by setting value for
limit. |
TraceQuery |
withSlowOnly(boolean value)
Copy current immutable object by setting value for
slowOnly. |
TraceQuery |
withTo(long value)
Copy current immutable object by setting value for
to. |
TraceQuery |
withTransactionName(String value)
Copy current immutable object by setting value for
transactionName. |
TraceQuery |
withTransactionNameComparator(TraceQueryBase.StringComparator value)
Copy current immutable object by setting value for
transactionNameComparator. |
TraceQuery |
withTransactionType(String value)
Copy current immutable object by setting value for
transactionType. |
TraceQuery |
withUser(String value)
Copy current immutable object by setting value for
user. |
TraceQuery |
withUserComparator(TraceQueryBase.StringComparator value)
Copy current immutable object by setting value for
userComparator. |
public long from()
from in class TraceQueryBasefrom attributepublic long to()
to in class TraceQueryBaseto attributepublic long durationLow()
durationLow in class TraceQueryBasedurationLow attributepublic Long durationHigh()
durationHigh in class TraceQueryBasedurationHigh attributepublic String transactionType()
transactionType in class TraceQueryBasetransactionType attributepublic TraceQueryBase.StringComparator transactionNameComparator()
transactionNameComparator in class TraceQueryBasetransactionNameComparator attributepublic String transactionName()
transactionName in class TraceQueryBasetransactionName attributepublic TraceQueryBase.StringComparator headlineComparator()
headlineComparator in class TraceQueryBaseheadlineComparator attributepublic String headline()
headline in class TraceQueryBaseheadline attributepublic TraceQueryBase.StringComparator errorComparator()
errorComparator in class TraceQueryBaseerrorComparator attributepublic String error()
error in class TraceQueryBaseerror attributepublic TraceQueryBase.StringComparator userComparator()
userComparator in class TraceQueryBaseuserComparator attributepublic String user()
user in class TraceQueryBaseuser attributepublic String customAttributeName()
customAttributeName in class TraceQueryBasecustomAttributeName attributepublic TraceQueryBase.StringComparator customAttributeValueComparator()
customAttributeValueComparator in class TraceQueryBasecustomAttributeValueComparator attributepublic String customAttributeValue()
customAttributeValue in class TraceQueryBasecustomAttributeValue attributepublic boolean errorOnly()
errorOnly in class TraceQueryBaseerrorOnly attributepublic boolean slowOnly()
slowOnly in class TraceQueryBaseslowOnly attributepublic int limit()
limit in class TraceQueryBaselimit attributepublic final TraceQuery withFrom(long value)
from.
Value equality check is used to prevent copying of the same value by returning this.value - new value for fromthis objectpublic final TraceQuery withTo(long value)
to.
Value equality check is used to prevent copying of the same value by returning this.value - new value for tothis objectpublic final TraceQuery withDurationLow(long value)
durationLow.
Value equality check is used to prevent copying of the same value by returning this.value - new value for durationLowthis objectpublic final TraceQuery withDurationHigh(@Nullable Long value)
durationHigh.
Shallow reference equality check is used to prevent copying of the same value by returning this.value - new value for durationHigh, can be nullthis objectpublic final TraceQuery withTransactionType(@Nullable String value)
transactionType.
Shallow reference equality check is used to prevent copying of the same value by returning this.value - new value for transactionType, can be nullthis objectpublic final TraceQuery withTransactionNameComparator(@Nullable TraceQueryBase.StringComparator value)
transactionNameComparator.
Shallow reference equality check is used to prevent copying of the same value by returning this.value - new value for transactionNameComparator, can be nullthis objectpublic final TraceQuery withTransactionName(@Nullable String value)
transactionName.
Shallow reference equality check is used to prevent copying of the same value by returning this.value - new value for transactionName, can be nullthis objectpublic final TraceQuery withHeadlineComparator(@Nullable TraceQueryBase.StringComparator value)
headlineComparator.
Shallow reference equality check is used to prevent copying of the same value by returning this.value - new value for headlineComparator, can be nullthis objectpublic final TraceQuery withHeadline(@Nullable String value)
headline.
Shallow reference equality check is used to prevent copying of the same value by returning this.value - new value for headline, can be nullthis objectpublic final TraceQuery withErrorComparator(@Nullable TraceQueryBase.StringComparator value)
errorComparator.
Shallow reference equality check is used to prevent copying of the same value by returning this.value - new value for errorComparator, can be nullthis objectpublic final TraceQuery withError(@Nullable String value)
error.
Shallow reference equality check is used to prevent copying of the same value by returning this.value - new value for error, can be nullthis objectpublic final TraceQuery withUserComparator(@Nullable TraceQueryBase.StringComparator value)
userComparator.
Shallow reference equality check is used to prevent copying of the same value by returning this.value - new value for userComparator, can be nullthis objectpublic final TraceQuery withUser(@Nullable String value)
user.
Shallow reference equality check is used to prevent copying of the same value by returning this.value - new value for user, can be nullthis objectpublic final TraceQuery withCustomAttributeName(@Nullable String value)
customAttributeName.
Shallow reference equality check is used to prevent copying of the same value by returning this.value - new value for customAttributeName, can be nullthis objectpublic final TraceQuery withCustomAttributeValueComparator(@Nullable TraceQueryBase.StringComparator value)
customAttributeValueComparator.
Shallow reference equality check is used to prevent copying of the same value by returning this.value - new value for customAttributeValueComparator, can be nullthis objectpublic final TraceQuery withCustomAttributeValue(@Nullable String value)
customAttributeValue.
Shallow reference equality check is used to prevent copying of the same value by returning this.value - new value for customAttributeValue, can be nullthis objectpublic final TraceQuery withErrorOnly(boolean value)
errorOnly.
Value equality check is used to prevent copying of the same value by returning this.value - new value for errorOnlythis objectpublic final TraceQuery withSlowOnly(boolean value)
slowOnly.
Value equality check is used to prevent copying of the same value by returning this.value - new value for slowOnlythis objectpublic final TraceQuery withLimit(int value)
limit.
Value equality check is used to prevent copying of the same value by returning this.value - new value for limitthis objectpublic boolean equals(@Nullable Object another)
TraceQuery with equal attribute values.public int hashCode()
from, to, durationLow, durationHigh, transactionType, transactionNameComparator, transactionName, headlineComparator, headline, errorComparator, error, userComparator, user, customAttributeName, customAttributeValueComparator, customAttributeValue, errorOnly, slowOnly, limit.public String toString()
TraceQuery{...} with attribute values,
excluding any non-generated and auxiliary attributes.public static TraceQuery copyOf(TraceQueryBase instance)
TraceQueryBase.
Uses accessors to get values to initialize immutable instance.
If an instance is already immutable, it is returned as is.instance - instance to copypublic static TraceQuery.Builder builder()
TraceQuery.Copyright © 2011–2015 Glowroot contributors. All rights reserved.