net.sf.oval.configuration.pojo.elements.ParameterConfiguration Maven / Gradle / Ivy
/*******************************************************************************
* Portions created by Sebastian Thomschke are copyright (c) 2005-2011 Sebastian
* Thomschke.
*
* All Rights Reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Sebastian Thomschke - initial implementation.
*******************************************************************************/
package net.sf.oval.configuration.pojo.elements;
import java.util.List;
import net.sf.oval.Check;
import net.sf.oval.CheckExclusion;
/**
* @author Sebastian Thomschke
*/
public class ParameterConfiguration extends ConfigurationElement
{
private static final long serialVersionUID = 1L;
/**
* the type of the parameter
*/
public Class< ? > type;
/**
* the checks for the parameter
*/
public List checks;
/**
* the check exclusions for the parameter
*/
public List checkExclusions;
public boolean hasCheckExclusions()
{
return checkExclusions != null && checkExclusions.size() > 0;
}
public boolean hasChecks()
{
return checks != null && checks.size() > 0;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy