Class ChecksOutput


  • public class ChecksOutput
    extends Object
    An output of a check. The output usually contains the most useful information like summary, description, annotations, etc.
    • Constructor Detail

      • ChecksOutput

        public ChecksOutput​(ChecksOutput that)
        Copy constructor of the ChecksOutput.
        Parameters:
        that - the source to copy from
    • Method Detail

      • getSummary

        public Optional<String> getSummary​(int maxSize)
        Get the output summary, truncated by TruncatedString to maxSize.
        Parameters:
        maxSize - maximum size to truncate summary to.
        Returns:
        Summary, truncated to maxSize with truncation message if appropriate.
      • getText

        public Optional<String> getText​(int maxSize)
        Get the output text, truncated by TruncatedString to maxSize.
        Parameters:
        maxSize - maximum size to truncate text to.
        Returns:
        Text, truncated to maxSize with truncation message if appropriate.