public class LogMessageIndexDiff extends Object
{
"indexes": [ { "version" : "3.0.0-SNAPSHOT", "artifact" : "org.jboss.weld:weld-core-impl", "filePath" : "/opt/source/file.json", "total" : 735 } , { "version" : "2.2.10.Final", "artifact" : "org.jboss.weld:weld-core-impl", "filePath" : "/opt/source/anotherFile.json", "total" : 745 } ],
"detectCollisionsOnly": false,
"total": 1,
"differences": [
{
"id": 600,
"messages": [
{
"projectCode" : "WELD-",
"version" : "3.0.0-SNAPSHOT",
"value" : {
"method" : {
"sig" : "missingRetention(java.lang.Object param1)",
"retType":"void",
"interface":"org.jboss.weld.logging.ReflectionLogger"
},
"log" :{
"level" : "DEBUG"
},
"msg" : {
"id" : 600,
"value" : "{0} is missing...",
"format" : "MESSAGE_FORMAT"
}
}
},
{
"projectCode" : "WELD-",
"version" : "2.2.10.Final",
"value" : {
"method" : {
"sig" : "missingRetention(java.lang.Object param1)",
"retType":"void",
"interface":"org.jboss.weld.logging.ReflectionLogger"
},
"log" : {
"level" : "INFO"
},
"msg" : {
"id" : 600,
"value" : "{0} is missing...",
"format" : "MESSAGE_FORMAT"
}
}
},
}
]
}
| Constructor and Description |
|---|
LogMessageIndexDiff() |
| Modifier and Type | Method and Description |
|---|---|
void |
createDiffFile(File outputFile,
com.google.gson.JsonObject diff) |
com.google.gson.JsonObject |
generate(List<File> indexFiles,
boolean detectCollisionsOnly)
Generates the JSON diff for the specified index files.
|
static void |
main(String[] args) |
public static void main(String[] args)
args - public com.google.gson.JsonObject generate(List<File> indexFiles, boolean detectCollisionsOnly)
indexFiles - outputFile - detectCollisionsOnly - public void createDiffFile(File outputFile, com.google.gson.JsonObject diff)
outputFile - diff - Copyright © 2015. All Rights Reserved.