public class TestBTMServer extends Object
| Constructor and Description |
|---|
TestBTMServer() |
| Modifier and Type | Method and Description |
|---|---|
List<BusinessTransaction> |
getBusinessTransactions() |
static void |
main(String[] args)
Main for the test app.
|
void |
run() |
void |
setBusinessTransactions(List<BusinessTransaction> businessTransactions) |
void |
setPort(int port)
This method sets the port.
|
void |
setShutdownTimer(int timer)
This method sets the shutdown timer.
|
void |
setTestConfig(CollectorConfiguration testConfig)
This method sets the test configuration.
|
void |
shutdown() |
public static void main(String[] args)
args - The argumentspublic List<BusinessTransaction> getBusinessTransactions()
public void setBusinessTransactions(List<BusinessTransaction> businessTransactions)
businessTransactions - the businessTransactions to setpublic void setShutdownTimer(int timer)
timer - The shutdown timer (in milliseconds), or -1 to disablepublic void setPort(int port)
port - The portpublic void setTestConfig(CollectorConfiguration testConfig)
testConfig - The test collector configurationpublic void run()
public void shutdown()
Copyright © 2015 Red Hat, Inc.. All rights reserved.