|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.dependencyanalyzer.persistence.BuildResultSerializer
public final class BuildResultSerializer
Utility class to persist analysis result into the build root directory.
| Method Summary | |
|---|---|
BuildResult |
deserialize(File directory)
Deserialize the result for the passed directory. |
static BuildResultSerializer |
getInstance()
|
void |
serialize(File directory,
BuildResult result)
Serialize into an xml file the result into a given directory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static BuildResultSerializer getInstance()
public BuildResult deserialize(File directory)
throws IOException
directory - Folder where the file should exists.
IOException - File reading exception.
public void serialize(File directory,
BuildResult result)
throws IOException
directory - Folder where to store the file.result - Dependency analyze result o serialize.
IOException - File writing exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||