Class Cause


  • public class Cause
    extends java.lang.Object
    A representation of what issues caused this (sub)segment to include a failure / error. Can include exceptions or references to other exceptions.
    • Constructor Detail

      • Cause

        public Cause()
    • Method Detail

      • getWorkingDirectory

        public @Nullable java.lang.String getWorkingDirectory()
        Returns:
        the workingDirectory
      • setWorkingDirectory

        public void setWorkingDirectory​(@Nullable java.lang.String workingDirectory)
        Parameters:
        workingDirectory - the workingDirectory to set
      • getId

        public @Nullable java.lang.String getId()
        Returns:
        the id
      • setId

        public void setId​(java.lang.String id)
        Parameters:
        id - the id to set
      • getMessage

        public @Nullable java.lang.String getMessage()
        Returns:
        the message
      • setMessage

        public void setMessage​(java.lang.String message)
        Parameters:
        message - the message to set
      • getPaths

        public @Nullable java.util.Collection<java.lang.String> getPaths()
        Returns:
        the paths
      • setPaths

        public void setPaths​(java.util.Collection<java.lang.String> paths)
        Parameters:
        paths - the paths to set
      • getExceptions

        public java.util.List<ThrowableDescription> getExceptions()
        Returns:
        the exceptions