public static Map properties()

in src/main/java/org/apache/sling/clam/internal/ClamUtil.java [78:86]


    public static Map<String, Object> properties(@NotNull final String path, @Nullable final Integer index, @Nullable final String userId, @NotNull final ScanResult scanResult) {
        final Map<String, Object> properties = properties(path, index, userId);
        properties.put("timestamp", scanResult.getTimestamp());
        properties.put("message", scanResult.getMessage());
        properties.put("status", scanResult.getStatus().name());
        properties.put("started", scanResult.getStarted());
        properties.put("size", scanResult.getSize());
        return properties;
    }