# display class

## Synopsis

    display class <string> {
      <class-spec>
    }

## Description

Declares a display class. Display classes are only used for display purposes and have no effect on the defragmentation process (contrast this with ordinary classes, which also alter the behavior of the defragmentation algorithms).

It is permissible to re-open an existing class definition, for instance to add additional match conditions or alter the sort order.

Warning

Display classes should not contain keywords that are used to control the defragmentation process. This is not currently enforced, but may be in the future.

## Example

    // Highlight fragmented files in red

    display class "Fragmented" {
      match files where file is fragmented
      color "#ff0000"
    }

## See also

class