package com.perforce.config; import com.perforce.common.asset.ContentType; public enum CFG { TEST("core.test", Boolean.class), VERSION("core.version", String.class), SCHEMA("core.schema", String.class), SCM_TYPE("core.scmType", ScmType.class), // General audit and logging AUDIT_ENABLED("log.audit.enabled", Boolean.class), AUDIT_FILE("log.audit.filename", String.class), CHANGE_MAP("log.changeMap", String.class), // Perforce connection P4_MODE("p4.mode", String.class), P4_ROOT("p4.root", String.class), P4_PORT("p4.port", String.class), P4_USER("p4.user", String.class), P4_PASSWD("p4.passwd", String.class), P4_CLIENT("p4.client", String.class), P4_CLIENT_ROOT("p4.clientRoot", String.class), P4_UNICODE("p4.unicode", Boolean.class), P4_TRANSLATE("p4.translate", Boolean.class), P4_CHARSET("p4.charset", String.class), P4_DEPOT_PATH("p4.depotPath", String.class), P4_DEPOT_SUB("p4.subPath", String.class), P4_JNL_PREFIX("p4.jnlPrefix", String.class), P4_JNL_INDEX("p4.jnlIndex", Integer.class), P4_LOG_ID("p4.logRevID", String.class), P4_OFFSET("p4.offset", Long.class), P4_CASE("p4.caseMode", CaseSensitivity.class), P4_LINEEND("p4.lineEnding", Boolean.class), P4_C1_MODE("p4.lowerCase", Boolean.class), P4_SKIP_EMPTY("p4.skipEmpty", Boolean.class), P4_NORMALISATION("p4.normalisation", Normaliser.class), P4_DOWNGRADE("p4.downgrade", Boolean.class), P4_START("p4.start", Long.class), P4_END("p4.end", Long.class), // Subversion specific modes SVN_DUMPFILE("svn.dumpFile", String.class), SVN_PROP_NAME("svn.propName", String.class), SVN_PROP_ENCODE("svn.propEncoding", String.class), SVN_PROP_ENABLED("svn.propEnabled", Boolean.class), SVN_PROP_TYPE("svn.propTextType", ContentType.class), SVN_DIR_NAME("svn.emptyDirName", String.class), SVN_DIR_ENABLED("svn.emptyDirEnabled", Boolean.class), SVN_KEEP_KEYWORD("svn.keepKeyword", Boolean.class), SVN_MERGEINFO("svn.mergeInfoEnabled", Boolean.class), SVN_LABELS("svn.labels", Boolean.class), SVN_LABEL_DEPTH("svn.labelDepth", Integer.class), SVN_LABEL_FORMAT("svn.labelFormat", String.class), // CVS specific modes CVS_ROOT("cvs.cvsroot", String.class), CVS_MODULE("cvs.cvsmodule", String.class), CVS_WINDOW("cvs.timeWindow", Long.class), CVS_TMPDIR("cvs.tmpDir", String.class), CVS_LABELS("cvs.labels", Boolean.class), CVS_LABEL_FORMAT("cvs.labelFormat", String.class), CVS_TMPLOG_ENABLED("cvs.audit.tmp", Boolean.class), // Hidden properties EXCLUDE_MAP("hidden.excludeMap", String.class), INCLUDE_MAP("hidden.includeMap", String.class), ISSUE_MAP("hidden.issueMap", String.class), USER_MAP("hidden.userMap", String.class), TYPE_MAP("hidden.typeMap", String.class), PATH_MAP("hidden.pathMap", String.class), P4_LARGE_FILE("hidden.largeFile", Long.class), CVS_MAXLINE("hidden.maxLineBuffer", Long.class); final private String base = "com.p4convert."; final private String id; final private Class<?> type; CFG(String s, Class<?> t) { id = base + s; type = t; } public static CFG parse(String property) { if (property != null) { for (CFG c : CFG.values()) { if (property.equalsIgnoreCase(c.toString())) { return c; } } } return null; } public String toString() { return id; } public Class<?> getType() { return type; } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 13876 | Paul Allen | Rename/move file(s) | ||
//guest/paul_allen/p4convert-maven/src/com/perforce/config/CFG.java | |||||
#1 | 13873 | Paul Allen | Branching using p4convert-maven | ||
//guest/perforce_software/p4convert/src/com/perforce/config/CFG.java | |||||
#9 | 12890 | Paul Allen |
Extended start/stop change limits to CVS. - Moved start and stop configuration options out of SVN name space to the generic P4 space. - Abstracted shared range logic to ProcessChange #review-12880 |
||
#8 | 12521 | Paul Allen |
CVS: Audit logging when generating Tmp files from RCS. Creates a file "tmpFile.log" under the com.perforce.cvs.tmpDir and logging is enabled by default. com.perforce.cvs.audit.tmp=true |
||
#7 | 12319 | Paul Allen |
CVS: Format label names using com.p4convert.cvs.labelFormat. Default is: '{symbol}' the string is replaced by the CVS symbol used for that label. |
||
#6 | 12222 | Paul Allen |
New non-translate mode for high-ascii files. If the P4_TRANSLATE mode is disabled then text files with high-ascii characters are given the new type RAW-TEXT. Raw types are not translated and the content is used as-is. (exception UTF16/32) The default translation configuration is enabled: com.p4convert.p4.translate=true The com.p4convert.p4.translate=false mode is intended for use with non-unicode Perforce servers in a Windows only client environment. |
||
#5 | 11070 | Paul Allen | Path Translation configuration options. | ||
#4 | 11017 | Paul Allen | SVN: Configuration options to support labels | ||
#3 | 10719 | Paul Allen |
CVS: Activate old label code and add config option. disabled by default -- for the moment until it works (set log level from trace -> debug) |
||
#2 | 10654 | Paul Allen |
Added hidden configuration option for the max line buffer for reading a binary file. hidden.maxLineBuffer = (default) 10*1024*1024 |
||
#1 | 9807 | Paul Allen | Initial import of p4-convert (from change 894340) |