Class ExtensibilityDebugData

java.lang.Object
org.springframework.extensions.surf.extensibility.impl.ExtensibilityDebugData

public class ExtensibilityDebugData extends Object

Used to maintain the debug data about the ExtensibilityDirective instances used in a single request.

Author:
David Draper
  • Constructor Details

    • ExtensibilityDebugData

      public ExtensibilityDebugData()
  • Method Details

    • addData

      public void addData(String id, String directive, String path)

      Add new extensibility data for a directive

      Parameters:
      id - The id of the directive
      directive - The directive type
      path - The path of the file that provides the directive.
    • getDirectives

      public Set<String> getDirectives()
      Returns:
      The Set of ExtensibilityDirective types used.
    • getDirectiveData

      public List<ExtensibilityDebugData.Data> getDirectiveData(String directive)

      Gets the debug data for a specific directive type

      Parameters:
      directive - The directive type to retrieve data for.
      Returns:
      A list of ExtensibilityDebugData.Data objects.