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

com.beust.jcommander.IVariableArity Maven / Gradle / Ivy

There is a newer version: 1.0.0-beta2
Show newest version
package com.beust.jcommander;

/**
 * Must be implemented by argument classes that contain at least one
 * \@Parameter with "variableArity = true".
 */
public interface IVariableArity {

  /**
   * @param optionName the name of the option to process.
   * @param options the entire list of options.
   *
   * @return how many options were processed.
   */
  int processVariableArity(String optionName, String[] options);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy