package main;

import data.BuildType;

/**
 * Config file
 * 
 * @author Lisa Nguyen Quang Do
 */

public class Config {

	public static final String resultFile = "/path/to/file";
	public static final String whitelist = "whitelist";
	public final static String target = "cms"; // erp, crm, cms

	public static final String workspace = "/path/to/dir";

	public static final String sourceDirectory = "/path/to/dir";
	public static final String binDirectory = "/path/to/dir";
	public static final String tmpDir = "/path/to/dir";

	public static final String gitCredentials = "credentials";

	public static long downloadTimeout = 180000;

	public static final int firstRow = 5;
	public static final int legendRow = 3;

	public static final BuildType[] consideredBuildTypes = new BuildType[] { BuildType.ANT, BuildType.GRADLE,
			BuildType.MAVEN };

	// Index in XML sheet
	public static final int XML_id = 0;
	public static final int XML_name = 1;
	public static final int XML_description = 2;
	public static final int XML_url = 3;
	public static final int XML_owner = 4;
	public static final int XML_ownerType = 5;
	public static final int XML_creationDate = 6;
	public static final int XML_updateDate = 7;
	public static final int XML_size = 8;
	public static final int XML_score = 9;
	public static final int XML_starred = 10;
	public static final int XML_watched = 11;
	public static final int XML_licence = 12;
	public static final int XML_wiki = 13;
	public static final int XML_private = 14;
	public static final int XML_downloads = 15;
	public static final int XML_forks = 16;
	public static final int XML_releasesUrl = 17;
	public static final int XML_commitsUrl = 18;
	public static final int XML_contributorsUrl = 19;
	public static final int XML_issuesUrl = 20;
	public static final int XML_contentsUrl = 21;
	public static final int XML_openIssues = 22;
	public static final int XML_firstIssues = 23;
	public static final int XML_issuesRatio = 24;
	public static final int XML_commitsLastYear = 25;
	public static final int XML_sha = 26;
	public static final int XML_releases = 27;
	public static final int XML_releaseName = 28;
	public static final int XML_releaseDate = 29;
	public static final int XML_releaseUrl = 30;
	public static final int XML_releaseTar = 31;
	public static final int XML_releaseZip = 32;
	public static final int XML_contributors = 33;
	public static final int XML_compiles = 34;
	public static final int XML_buildType = 35;
	public static final int XML_buildFile = 36;
	public static final int XML_potentialBuildTypes = 37;
	public static final int XML_potentialBuildFiles = 38;
	public static final int XML_libs = 39;
	public static final int XML_jars = 40;
	public static final int XML_hasLibraries = 41;
	public static final int XML_executables = 42;
	public static final int XML_source = 43;

}
