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

com.cognifide.slice.validation.ValidationModulesFactory Maven / Gradle / Ivy

package com.cognifide.slice.validation;

import java.util.ArrayList;
import java.util.List;

import com.google.inject.Module;

/**
 * Factory for all CQ-related modules. It should be used in application's activator to register CQ-related
 * modules
 * 
 * @author maciej.majchrzak
 * 
 */
public class ValidationModulesFactory {

	private ValidationModulesFactory() {
	}

	/**
	 * Creates and returns a list of all validation-related modules. The list includes:
*
    *
  • {@link ValidationModule}
  • *
* * @return list of validation-related modules */ public static List createModules() { List modules = new ArrayList(); modules.add(new ValidationModule()); return modules; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy