Class FileResults.FileResultsBuilder
java.lang.Object
ca.gc.cyber.ops.assemblyline.java.client.model.FileResults.FileResultsBuilder
- Enclosing class:
- FileResults
We need to define custom deserialization for some fields. The
Builder annotation of FileResult will add
all of the "standard" builder methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe attack instances are stored as arrays in the JSON instead of objects, so we need special deserialization.The heuristic instances are stored as arrays in the JSON instead of objects, so we need special deserialization.The tag instances are stored as arrays in the JSON instead of objects, so we need special deserialization.
-
Constructor Details
-
FileResultsBuilder
public FileResultsBuilder()
-
-
Method Details
-
heuristicsFromJson
The heuristic instances are stored as arrays in the JSON instead of objects, so we need special deserialization.- Parameters:
map- Map of heuristics- Returns:
- The builder.
-
attackMatrixFromJson
The attack instances are stored as arrays in the JSON instead of objects, so we need special deserialization.- Parameters:
map- Map of attack instances- Returns:
- The builder.
-
tagsFromJson
The tag instances are stored as arrays in the JSON instead of objects, so we need special deserialization.- Parameters:
map- Map of tag instances- Returns:
- The builder.
-