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

com.codetaco.cli.criteria.EnumCriteria Maven / Gradle / Ivy

package com.codetaco.cli.criteria;

import java.util.List;

/**
 * Comment from a testcase in InstantiatorTest.java.
 * 

* This is the only known time when --enumlist is actually needed. Otherwise the * list of possible enum names can be determined from either the instance * variable type of the instanceClass cli. In this case, neither of these * can be used to know that an enum is involved and the enumlist provide a set * of values that the input will be normalized, verified too. * * @author Chris DeGreef [email protected] */ public class EnumCriteria extends ListCriteria { /** *

* Constructor for EnumCriteria. *

* * @param listOfValidValues a {@link java.util.List} object. */ public EnumCriteria(final List listOfValidValues) { super(listOfValidValues); } /** * {@inheritDoc} */ @Override public EnumCriteria clone() throws CloneNotSupportedException { final EnumCriteria clone = (EnumCriteria) super.clone(); return clone; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy