cryptomator / cryptofs

Java Filesystem Provider with integrated encryption
GNU Affero General Public License v3.0
94 stars 35 forks source link

Extend HealthAPI to get more specific information about results #105

Closed infeo closed 3 years ago

infeo commented 3 years ago

The DiagnosticResult interface has a new method:

/**
 * Get more specific info about the result like names of affected resources.
 *
 * @return A map of strings containing result specific information
 */
default Map<String, String> details() {
    return Map.of();
}

For all already existing ResultImpl the method is overridden providing specific info.