Package io.codemodder.codetf
Class CodeTFReport
java.lang.Object
io.codemodder.codetf.CodeTFReport
Top level reporting object for CodeTF v2. This is the root object to be deserialized from an
input stream.
Applications should deserialize this object using a centralized ObjectMapper:
ObjectMapper mapper = new ObjectMapper();
// Configure the mapper as needed
CodeTFReport report = mapper.readValue(inputStream, CodeTFReport.class);
-
Constructor Details
-
CodeTFReport
-
-
Method Details
-
getRun
-
getResults
Return aList
of individual codemod's results. If this list is not empty, that does not mean there are changes to make. -
hasCodeChanges
public boolean hasCodeChanges()Returns true if the CodeTF describes any changes made to the code.
-