Class FileResults.FileResultsBuilder
- java.lang.Object
-
- ca.gc.cyber.ops.assemblyline.java.client.model.FileResults.FileResultsBuilder
-
- Enclosing class:
- FileResults
public static class FileResults.FileResultsBuilder extends Object
We need to define custom deserialization for some fields. TheBuilderannotation of FileResult will add all of the "standard" builder methods.
-
-
Constructor Summary
Constructors Constructor Description FileResultsBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileResults.FileResultsBuilderattackMatrixFromJson(Map<String,List<List<String>>> map)The attack instances are stored as arrays in the JSON instead of objects, so we need special deserialization.FileResults.FileResultsBuilderheuristicsFromJson(Map<String,List<List<String>>> map)The heuristic instances are stored as arrays in the JSON instead of objects, so we need special deserialization.FileResults.FileResultsBuildertagsFromJson(Map<String,List<List<String>>> map)The tag instances are stored as arrays in the JSON instead of objects, so we need special deserialization.
-
-
-
Method Detail
-
heuristicsFromJson
public FileResults.FileResultsBuilder heuristicsFromJson(Map<String,List<List<String>>> map)
The heuristic instances are stored as arrays in the JSON instead of objects, so we need special deserialization.- Parameters:
map-- Returns:
- The builder.
-
attackMatrixFromJson
public FileResults.FileResultsBuilder attackMatrixFromJson(Map<String,List<List<String>>> map)
The attack instances are stored as arrays in the JSON instead of objects, so we need special deserialization.- Parameters:
map-- Returns:
- The builder.
-
-