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

com.cflint.config.CFLintConfig Maven / Gradle / Ivy

Go to download

A static code analysis tool for ColdFusion (in the spirit of FindBugs and Lint). With CFLint, you are able to analyze your ColdFusion code base for code violations.

There is a newer version: 1.5.0
Show newest version
package com.cflint.config;

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

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.cflint.config.CFLintPluginInfo.PluginInfoRule.PluginMessage;

@XmlRootElement(name = "config")
public class CFLintConfig {

	List output = new ArrayList();
	List rules = new ArrayList();
	List excludes= new ArrayList();
	List includes= new ArrayList();
	
	public List getOutput() {
		return output;
	}

	@XmlElement(name = "output")
	public void setOutput(final List output) {
		this.output = output;
	}
	
	public List getRules() {
		return rules;
	}

	@XmlElement(name="rule")
	public void setRules(List rules) {
		this.rules = rules;
	}

	public List getExcludes() {
		return excludes;
	}

	@XmlElement(name="excludes")
	public void setExcludes(List excludes) {
		this.excludes = excludes;
	}

	public List getIncludes() {
		return includes;
	}

	@XmlElement(name="includes")
	public void setIncludes(List includes) {
		this.includes = includes;
	}

	public static class ConfigOutput {

		String name;
		OutputText text;
		OutputXML html;
		OutputXML xml;
		OutputText json;
		
		public String getName() {
			return name;
		}

		@XmlAttribute(name="name")
		public void setName(String name) {
			this.name = name;
		}

		public OutputText getText() {
			return text;
		}
		public OutputText getJSON() {
			return json;
		}

		@XmlElement(name="text")
		public void setText(OutputText text) {
			this.text = text;
		}
		@XmlElement(name="json")
		public void setJSON(OutputText text) {
			this.text = text;
		}
		
		public OutputXML getHtml() {
			return html;
		}

		@XmlElement(name="html")
		public void setHtml(OutputXML html) {
			this.html = html;
		}

		public OutputXML getXml() {
			return xml;
		}

		@XmlElement(name="xml")
		public void setXml(OutputXML xml) {
			this.xml = xml;
		}

		public static class OutputText {
			String file;

			public String getFile() {
				return file;
			}

			@XmlAttribute(name="file")
			public void setFile(String file) {
				this.file = file;
			}
		}
		
		public static class OutputXML extends OutputText {
			String style;

			public String getStyle() {
				return style;
			}

			@XmlAttribute(name="style")
			public void setStyle(String style) {
				this.style = style;
			}
		}
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy