All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.senzing.cmdline.ParameterProcessor Maven / Gradle / Ivy

The newest version!
package com.senzing.cmdline;

import java.util.List;

public interface ParameterProcessor {
  /**
   * Converts the specified command-line {@link String} parameters to a
   * {@link CommandLineOption} into an {@link Object} or array of
   * {@link Object} instances and determines if the parameters appear valid.
   *
   * @param commandLineOption The {@link CommandLineOption} asssociated with
   *                          the parameters.
   *
   * @param params The {@link List} of {@link String} parameters.
   *
   * @return The {@link Object} or array of {@link Object} instances
   *         representing the processed parameters.
   *
   * @throws BadOptionParametersException If the parameter(s) to the option are
   *                                      illegal in some way.
   */
  Object process(CommandLineOption commandLineOption, List params)
    throws BadOptionParametersException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy