
com.beust.jcommander.IParameterizedParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.portal.tools.rest.builder
Show all versions of com.liferay.portal.tools.rest.builder
Liferay Portal Tools REST Builder
The newest version!
package com.beust.jcommander;
import java.util.List;
/**
* Thin interface allows the Parameterized parsing mechanism, which reflects an object to find the
* JCommander annotations, to be replaced at runtime for cases where the source code cannot
* be directly annotated with JCommander annotations, but may have other annotations such as
* JSON annotations that can be used to reflect as JCommander parameters.
*
* @author Tim Gallagher
*/
public interface IParameterizedParser {
/**
* Parses the given object for any command line related annotations and returns the list of
* JCommander Parameterized definitions.
*
* @param annotatedObj the object that contains the annotations.
* @return non-null List but may be empty
*/
List parseArg(Object annotatedObj);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy