public interface IIndicatorsProvider
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getAllNames()
Returns list of all indicator names
|
Collection<String> |
getGroups()
Returns list of indicator groups
|
IIndicator |
getIndicator(String name)
Returns indicator with specified name or null if no indicator was found
|
IIndicator |
getIndicator(String name,
IIndicatorContext context)
Returns indicator with specified name or null if no indicator was found
|
Collection<String> |
getNames(String groupName)
Returns indicator names that belongs to specified group
|
String |
getTitle(String name)
Returns indicator's title
|
boolean |
isEnabledOnCharts(String indicatorName)
Returns true if indicator should be available in add indicator dialog
|
String |
registerUserIndicator(File compiledCustomIndicatorFile)
Attempts to open and register custom indicator in the system
|
Collection<String> getGroups()
Collection<String> getNames(String groupName)
groupName
- indicator groupCollection<String> getAllNames()
IIndicator getIndicator(String name, IIndicatorContext context)
name
- name of the indicatorcontext
- instance of IIndicatorContext
IIndicator getIndicator(String name)
name
- name of the indicatorboolean isEnabledOnCharts(String indicatorName)
indicatorName
- name of the indicatorString getTitle(String name)
name
- name of the indicatorString registerUserIndicator(File compiledCustomIndicatorFile) throws JFException
compiledCustomIndicatorFile
- file with the compiled indicator (the one with .jfx extension)JFException
- when indicator does not exist or can not be instantiated or does not pass the validationCopyright © 2016. All rights reserved.