Class PropertiesOperation

java.lang.Object
overit.geocall.config.company.PropertiesOperation

public class PropertiesOperation extends Object
class containing the configurations related to the configured operation.
note: all the configuration refers to the company whose the identity belongs to.
  • Method Details

    • operations

      public static List<String> operations(Company company)
      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

      public static String path(Company company, String operation)
      Retrieve the string reporting the path of the class defining the Operation.
      Parameters:
      company - the company from which extract the configuration
      operation - the name of the selected operation
      Returns:
      the operation path or null if it is not configured
    • name

      public static String name(Company company, String operation)
      Retrieve the string used to identify and get the instance of the Operation class.
      Parameters:
      company - the company from which extract the configuration
      operation - the name of the selected operation
      Returns:
      the operation name or null if it is not configured