Package overit.geocall.config.company
Class PropertiesOperation
java.lang.Object
overit.geocall.config.company.PropertiesOperation
class containing the configurations related to the configured operation.
note: all the configuration refers to the company whose the identity belongs to.
note: all the configuration refers to the company whose the identity belongs to.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringRetrieve the string used to identify and get the instance of the Operation class.operations(Company company) Get the list of the names for the configured operations.static StringRetrieve the string reporting the path of the class defining the Operation.
-
Method Details
-
operations
Get the list of the names for the configured operations.- Parameters:
company- the company from which extract the configuration- Returns:
- the names of the configured operations. If there's no operation configured, this method will return an empty list.
-
path
Retrieve the string reporting the path of the class defining the Operation.- Parameters:
company- the company from which extract the configurationoperation- the name of the selected operation- Returns:
- the operation path or null if it is not configured
-
name
Retrieve the string used to identify and get the instance of the Operation class.- Parameters:
company- the company from which extract the configurationoperation- the name of the selected operation- Returns:
- the operation name or null if it is not configured
-