A B C D E F G H I L M N O P R S T U W Y Z 

A

AbstractCommandContext - Class in org.alfresco.bm.app
Basic command context support.
AbstractCommandContext() - Constructor for class org.alfresco.bm.app.AbstractCommandContext
Common initialization
AbstractEventReporter - Class in org.alfresco.bm.report
Abstract support for event reporting
AbstractEventReporter(ResultService) - Constructor for class org.alfresco.bm.report.AbstractEventReporter
 
action - Variable in class org.alfresco.bm.app.ConfirmCommandContext
 
addEntity(EntityCollection, Shape, XYDataset, int, int, double, double) - Method in class org.alfresco.bm.chart.ResultChart.APXYLineAndShapeRenderer
 
addPathElementsLocation(List<String>) - Method in class org.alfresco.bm.app.AbstractCommandContext
Help build path elements.
addPathElementsLocation(List<String>) - Method in class org.alfresco.bm.app.ClusterCommandContext
 
addPathElementsLocation(List<String>) - Method in class org.alfresco.bm.app.ConfirmCommandContext
Should never be called
addPathElementsLocation(List<String>) - Method in class org.alfresco.bm.app.EntryCommandContext
 
addPathElementsLocation(List<String>) - Method in class org.alfresco.bm.app.ExitCommandContext
There is no location context associated with this command
addPathElementsLocation(List<String>) - Method in class org.alfresco.bm.app.TestCommandContext
 
addPathElementsLocation(List<String>) - Method in class org.alfresco.bm.app.TestRunCommandContext
 
AllResultsReporter - Class in org.alfresco.bm.report
Service class that retrieves test run results from MongoDB and generates a csv output file from the result.
AllResultsReporter(ResultService) - Constructor for class org.alfresco.bm.report.AllResultsReporter

B

buildHeaders(List<String>) - Static method in class org.alfresco.bm.report.AbstractEventReporter
Helper method to build header labels of csv file.

C

ClientApp - Class in org.alfresco.bm.app
Command client for all benchmark interaction
ClientApp() - Constructor for class org.alfresco.bm.app.ClientApp
 
cluster - Variable in class org.alfresco.bm.app.ClusterCommandContext
Name of the cluster in context
ClusterCommandContext - Class in org.alfresco.bm.app
Command processor when in context of a specific cluster.
ClusterCommandContext(ClusterCommandContext) - Constructor for class org.alfresco.bm.app.ClusterCommandContext
Copy constructor using an existing instance
ClusterCommandContext(EntryCommandContext, String) - Constructor for class org.alfresco.bm.app.ClusterCommandContext
 
CMD_BACK - Static variable in class org.alfresco.bm.app.ClusterCommandContext
 
CMD_CREATE - Static variable in class org.alfresco.bm.app.ClusterCommandContext
 
CMD_DELETE_JAR - Static variable in class org.alfresco.bm.app.TestCommandContext
 
CMD_EDIT_NOTES - Static variable in class org.alfresco.bm.app.TestRunCommandContext
 
CMD_EDIT_PROPERTIES - Static variable in class org.alfresco.bm.app.ClusterCommandContext
 
CMD_EDIT_PROPERTIES - Static variable in class org.alfresco.bm.app.TestRunCommandContext
 
CMD_EXIT - Static variable in class org.alfresco.bm.app.AbstractCommandContext
 
CMD_EXPORT_RESULTS - Static variable in class org.alfresco.bm.app.TestRunCommandContext
 
CMD_HELP - Static variable in class org.alfresco.bm.app.AbstractCommandContext
 
CMD_HELP_SHORT - Static variable in class org.alfresco.bm.app.AbstractCommandContext
 
CMD_LOAD - Static variable in class org.alfresco.bm.app.TestCommandContext
 
CMD_LS - Static variable in class org.alfresco.bm.app.EntryCommandContext
 
CMD_NO - Static variable in class org.alfresco.bm.app.ConfirmCommandContext
 
CMD_PAUSE - Static variable in class org.alfresco.bm.app.TestRunCommandContext
 
CMD_RM - Static variable in class org.alfresco.bm.app.ClusterCommandContext
 
CMD_RUN - Static variable in class org.alfresco.bm.app.TestRunCommandContext
 
CMD_SHOW_CHART - Static variable in class org.alfresco.bm.app.TestRunCommandContext
 
CMD_SHOW_JARS - Static variable in class org.alfresco.bm.app.TestCommandContext
 
CMD_SHOW_LOADED - Static variable in class org.alfresco.bm.app.ClusterCommandContext
 
CMD_SHOW_PROPERTIES - Static variable in class org.alfresco.bm.app.ClusterCommandContext
 
CMD_SHOW_PROPERTIES - Static variable in class org.alfresco.bm.app.TestRunCommandContext
 
CMD_SHOW_SERVERS - Static variable in class org.alfresco.bm.app.ClusterCommandContext
 
CMD_SHOW_STATE - Static variable in class org.alfresco.bm.app.TestRunCommandContext
 
CMD_STOP - Static variable in class org.alfresco.bm.app.TestRunCommandContext
 
CMD_STOP_SERVER - Static variable in class org.alfresco.bm.app.ClusterCommandContext
 
CMD_UNLOAD - Static variable in class org.alfresco.bm.app.TestCommandContext
 
CMD_UPLOAD_CONFIG - Static variable in class org.alfresco.bm.app.TestCommandContext
 
CMD_UPLOAD_JAR - Static variable in class org.alfresco.bm.app.TestCommandContext
 
CMD_USE - Static variable in class org.alfresco.bm.app.EntryCommandContext
 
CMD_YES - Static variable in class org.alfresco.bm.app.ConfirmCommandContext
 
CommandContext - Interface in org.alfresco.bm.app
Interface for instances that handle commands for different contexts
configService - Variable in class org.alfresco.bm.app.EntryCommandContext
 
ConfirmCommandContext - Class in org.alfresco.bm.app
Command context to double-check a decision
ConfirmCommandContext(CommandContext, String, ConfirmCommandContext.ConfirmCommandHandler) - Constructor for class org.alfresco.bm.app.ConfirmCommandContext
 
ConfirmCommandContext.ConfirmCommandHandler - Interface in org.alfresco.bm.app
Callback for yes/no handling
createTest(String) - Method in class org.alfresco.bm.app.ClusterCommandContext
 
createTestRun(String) - Method in class org.alfresco.bm.app.TestCommandContext
 
createXYChart(long, long, int, int) - Method in class org.alfresco.bm.chart.ResultChart
Construct an X-Y chart
ctx - Variable in class org.alfresco.bm.app.EntryCommandContext
 

D

DEFAULT_NUMBER_OF_RESULTS - Static variable in class org.alfresco.bm.report.DiscreteTimeReporter
 
deleteTest(String) - Method in class org.alfresco.bm.app.ClusterCommandContext
 
deleteTestRuns(String) - Method in class org.alfresco.bm.app.TestCommandContext
 
DiscreteTimeReporter - Class in org.alfresco.bm.report
Event reporter that dumps averaged results at discrete time intervals.
DiscreteTimeReporter(ResultService) - Constructor for class org.alfresco.bm.report.DiscreteTimeReporter
doNo() - Method in interface org.alfresco.bm.app.ConfirmCommandContext.ConfirmCommandHandler
 
doYes() - Method in interface org.alfresco.bm.app.ConfirmCommandContext.ConfirmCommandHandler
 

E

edit() - Method in class org.alfresco.bm.app.PropertiesEditor
 
editClusterProperties() - Method in class org.alfresco.bm.app.ClusterCommandContext
 
editRunNotes() - Method in class org.alfresco.bm.app.TestRunCommandContext
 
editRunProperties() - Method in class org.alfresco.bm.app.TestRunCommandContext
 
editTestProperties() - Method in class org.alfresco.bm.app.TestCommandContext
 
EntryCommandContext - Class in org.alfresco.bm.app
Basic command context support.
EntryCommandContext(ApplicationContext, String, String) - Constructor for class org.alfresco.bm.app.EntryCommandContext
 
EventReporter - Interface in org.alfresco.bm.report
Service interface providing methods to access results and export it to a given format.
executeCommand(String) - Method in class org.alfresco.bm.app.AbstractCommandContext
For this to have been called, we have to assume that the command has not been recognized further down the hierarchy.
executeCommand(String) - Method in class org.alfresco.bm.app.ClusterCommandContext
 
executeCommand(String) - Method in interface org.alfresco.bm.app.CommandContext
Execute the given command in the context of the current instance
executeCommand(String) - Method in class org.alfresco.bm.app.ConfirmCommandContext
 
executeCommand(String) - Method in class org.alfresco.bm.app.EntryCommandContext
 
executeCommand(String) - Method in class org.alfresco.bm.app.ExitCommandContext
 
executeCommand(String) - Method in class org.alfresco.bm.app.TestCommandContext
 
executeCommand(String) - Method in class org.alfresco.bm.app.TestRunCommandContext
 
ExitCommandContext - Class in org.alfresco.bm.app
Final command state indicating that the client can exit
ExitCommandContext() - Constructor for class org.alfresco.bm.app.ExitCommandContext
 
export(String, String) - Method in class org.alfresco.bm.report.AllResultsReporter
 
export(String, String) - Method in class org.alfresco.bm.report.DiscreteTimeReporter
 
export(String, String) - Method in interface org.alfresco.bm.report.EventReporter
Exports results in a csv format to a file.
export(String, String) - Method in class org.alfresco.bm.report.SummaryReporter
Results table where each row consists of: Event name: Name of the event.
export(Writer, String, ResultService) - Method in class org.alfresco.bm.report.SummaryReporter
Dump results to an OutputStream, which will not be closed.
exportRunResults(int) - Method in class org.alfresco.bm.app.TestRunCommandContext
 

F

FAILED_LABEL_PREFIX - Static variable in class org.alfresco.bm.report.AbstractEventReporter
 
formatHeaders(String) - Static method in class org.alfresco.bm.report.ReportUtil
Helper method to format collection of names into a csv format.

G

getClusterProperties() - Method in class org.alfresco.bm.app.ClusterCommandContext
 
getCommands() - Method in class org.alfresco.bm.app.AbstractCommandContext
Override to provide a set of available commands
getCommands() - Method in class org.alfresco.bm.app.ClusterCommandContext
 
getCommands() - Method in class org.alfresco.bm.app.ConfirmCommandContext
 
getCommands() - Method in class org.alfresco.bm.app.EntryCommandContext
 
getCommands() - Method in class org.alfresco.bm.app.TestCommandContext
 
getCommands() - Method in class org.alfresco.bm.app.TestRunCommandContext
 
getCurrentDir() - Method in class org.alfresco.bm.app.AbstractCommandContext
Get the current user directory for file selection operations
getLoadedTestRuns() - Method in class org.alfresco.bm.app.ClusterCommandContext
 
getLocation() - Method in class org.alfresco.bm.app.AbstractCommandContext
Get the current path for the command context
getLocation() - Method in interface org.alfresco.bm.app.CommandContext
Get the current path for the command context
getLocation() - Method in class org.alfresco.bm.app.ConfirmCommandContext
Overrides the call to defer to the original command context
getOrderedProperties(Properties) - Method in class org.alfresco.bm.app.AbstractCommandContext
Helper method to order properties by key
getRunProperties() - Method in class org.alfresco.bm.app.TestRunCommandContext
 
getTestProperties() - Method in class org.alfresco.bm.app.TestCommandContext
 
getWindowSize(long, long, int) - Static method in class org.alfresco.bm.chart.ResultChart
Helper method to calculate a window size (ms) such that the approximate number of results is retrieved across the given time range.

H

handleToggle(ActionEvent) - Method in class org.alfresco.bm.chart.ResultChart
Handler for series toggle checkboxes.

I

ID_EVENT_LABEL - Static variable in class org.alfresco.bm.report.AbstractEventReporter
 

L

LIMIT_VALUE - Static variable in class org.alfresco.bm.report.AbstractEventReporter
 
loadTestRun(String) - Method in class org.alfresco.bm.app.TestCommandContext
 
log - Variable in class org.alfresco.bm.report.AbstractEventReporter
 

M

main(String...) - Static method in class org.alfresco.bm.app.ClientApp
Main method from which to enter commands
main(String...) - Static method in class org.alfresco.bm.report.ReportClient
Report main method

N

NEW_LINE - Static variable in class org.alfresco.bm.report.AbstractEventReporter
 

O

org.alfresco.bm.app - package org.alfresco.bm.app
 
org.alfresco.bm.chart - package org.alfresco.bm.chart
 
org.alfresco.bm.report - package org.alfresco.bm.report
 
originalCommandContext - Variable in class org.alfresco.bm.app.ConfirmCommandContext
 

P

PropertiesEditor - Class in org.alfresco.bm.app
Simple Swing properties editor
PropertiesEditor(Properties, String) - Constructor for class org.alfresco.bm.app.PropertiesEditor
 

R

ReportClient - Class in org.alfresco.bm.report
Client class to extract reports of a given test run stored in MongoDB
ReportClient() - Constructor for class org.alfresco.bm.report.ReportClient
 
ReportUtil - Class in org.alfresco.bm.report
Report utility class that exports and formats data to a csv file.
ReportUtil() - Constructor for class org.alfresco.bm.report.ReportUtil
 
ResultChart - Class in org.alfresco.bm.chart
Factory class to generate charts from some results.
ResultChart(ResultService) - Constructor for class org.alfresco.bm.chart.ResultChart
 
ResultChart.APXYLineAndShapeRenderer - Class in org.alfresco.bm.chart
From http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=37814
ResultChart.APXYLineAndShapeRenderer() - Constructor for class org.alfresco.bm.chart.ResultChart.APXYLineAndShapeRenderer
 
ResultChart.APXYLineAndShapeRenderer(boolean, boolean) - Constructor for class org.alfresco.bm.chart.ResultChart.APXYLineAndShapeRenderer
 
resultService - Variable in class org.alfresco.bm.report.AbstractEventReporter
 
run - Variable in class org.alfresco.bm.app.TestRunCommandContext
Name of the test run in context
run(String, String, String, int, int, int, int, String) - Static method in class org.alfresco.bm.report.ReportClient
Method that sets the context and executes the export.

S

setCurrentDir(File) - Method in class org.alfresco.bm.app.AbstractCommandContext
Set the current user directory for file selection operations
setNumberOfResults(int) - Method in class org.alfresco.bm.report.DiscreteTimeReporter
Change the default number of results
setRunState(String, ConfigConstants.RunState) - Method in class org.alfresco.bm.app.TestCommandContext
 
showClusterProperties() - Method in class org.alfresco.bm.app.ClusterCommandContext
 
showLoaded() - Method in class org.alfresco.bm.app.ClusterCommandContext
 
showRunProperties() - Method in class org.alfresco.bm.app.TestRunCommandContext
 
showRunResults() - Method in class org.alfresco.bm.app.TestRunCommandContext
 
showServers() - Method in class org.alfresco.bm.app.ClusterCommandContext
 
showTestProperties() - Method in class org.alfresco.bm.app.TestCommandContext
 
showTestRuns() - Method in class org.alfresco.bm.app.TestCommandContext
 
showTests() - Method in class org.alfresco.bm.app.ClusterCommandContext
 
showXYChart(int, int, int, int, String) - Method in class org.alfresco.bm.chart.ResultChart
 
stopServer(String) - Method in class org.alfresco.bm.app.ClusterCommandContext
 
SummaryReporter - Class in org.alfresco.bm.report
Dumps summary of all results.
SummaryReporter(ResultService) - Constructor for class org.alfresco.bm.report.SummaryReporter
 

T

test - Variable in class org.alfresco.bm.app.TestCommandContext
Name of the test in context
TestCommandContext - Class in org.alfresco.bm.app
Command processor when in context of a specific test.
TestCommandContext(ClusterCommandContext, String) - Constructor for class org.alfresco.bm.app.TestCommandContext
 
TestRunCommandContext - Class in org.alfresco.bm.app
Command processor when in context of a specific test run.
TestRunCommandContext(TestCommandContext, String) - Constructor for class org.alfresco.bm.app.TestRunCommandContext
 
TIME_EVENT_LABEL - Static variable in class org.alfresco.bm.report.AbstractEventReporter
 

U

unloadTestRun(String) - Method in class org.alfresco.bm.app.TestCommandContext
 
useTest(String) - Method in class org.alfresco.bm.app.ClusterCommandContext
 
useTestRun(String) - Method in class org.alfresco.bm.app.TestCommandContext
 

W

WINDOW_SIZES - Static variable in class org.alfresco.bm.chart.ResultChart
Stardard window sizes
writeTestDetails(Writer, String) - Method in class org.alfresco.bm.report.AbstractEventReporter
Dump summary data for a test

Y

yesNoHandler - Variable in class org.alfresco.bm.app.ConfirmCommandContext
 

Z

zkPath - Variable in class org.alfresco.bm.app.EntryCommandContext
 
zkUrl - Variable in class org.alfresco.bm.app.EntryCommandContext
 
A B C D E F G H I L M N O P R S T U W Y Z 

Copyright © 2013. All Rights Reserved.