public class MVELSeverityAnalyzer extends Object implements SeverityAnalyzer
Constructor and Description |
---|
MVELSeverityAnalyzer()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getScriptLocation()
This method returns the script location.
|
Severity |
getSeverity(Object component,
InvocationMetric summary,
List<InvocationMetric> history)
This method returns the severity relevant for the supplied
metric information.
|
void |
init()
This method initializes the color selector.
|
void |
setScriptLocation(String location)
This method sets the script location.
|
public void setScriptLocation(String location)
location
- The script locationpublic String getScriptLocation()
@PostConstruct public void init() throws Exception
Exception
- Failed to initializepublic Severity getSeverity(Object component, InvocationMetric summary, List<InvocationMetric> history)
getSeverity
in interface SeverityAnalyzer
component
- The source componentsummary
- The accumulated results from the history of invocation metricshistory
- The history of invocation metricsCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.