public abstract class BaseCriteria extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BaseCriteria.PropertyCriteria
This class represents the property criteria.
|
| Constructor and Description |
|---|
BaseCriteria() |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(String name,
String value,
boolean excluded)
This method adds a new property criteria.
|
String |
getBusinessTransaction() |
long |
getEndTime() |
String |
getHostName() |
int |
getMaxResponseSize() |
Set<BaseCriteria.PropertyCriteria> |
getProperties() |
long |
getStartTime() |
long |
getTimeout() |
Map<String,String> |
parameters()
This method returns the criteria as a map of name/value pairs.
|
BaseCriteria |
setBusinessTransaction(String name)
If a null name is used, then it will match any transaction whether it has
a name or not.
|
BaseCriteria |
setEndTime(long endTime) |
BaseCriteria |
setHostName(String hostName) |
void |
setMaxResponseSize(int maxResponseSize) |
BaseCriteria |
setProperties(Set<BaseCriteria.PropertyCriteria> properties) |
BaseCriteria |
setStartTime(long startTime) |
void |
setTimeout(long timeout) |
String |
toString() |
public long getStartTime()
public BaseCriteria setStartTime(long startTime)
startTime - the startTime to setpublic long getEndTime()
public BaseCriteria setEndTime(long endTime)
endTime - the endTime to setpublic String getBusinessTransaction()
public BaseCriteria setBusinessTransaction(String name)
name - the business transaction name to setpublic Set<BaseCriteria.PropertyCriteria> getProperties()
public BaseCriteria setProperties(Set<BaseCriteria.PropertyCriteria> properties)
properties - the properties to setpublic void addProperty(String name, String value, boolean excluded)
name - The property namevalue - The property valueexcluded - Whether the specific property name/value should be excludedpublic String getHostName()
public BaseCriteria setHostName(String hostName)
hostName - the hostName to setpublic long getTimeout()
public void setTimeout(long timeout)
timeout - the timeout to setpublic int getMaxResponseSize()
public void setMaxResponseSize(int maxResponseSize)
maxResponseSize - the maxResponseSize to setpublic Map<String,String> parameters()
Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.