Class RemoteStackTraceElement

java.lang.Object
uk.ac.manchester.spinnaker.nmpi.model.job.RemoteStackTraceElement

public class RemoteStackTraceElement
extends Object
Represents a stack trace provided remotely.
  • Constructor Details

  • Method Details

    • getClassName

      public String getClassName()
      Get the name of the class of the element.
      Returns:
      the className
    • setClassName

      public void setClassName​(String className)
      Sets the className.
      Parameters:
      className - the className to set
    • getMethodName

      public String getMethodName()
      Get the name of the method of the element.
      Returns:
      the methodName
    • setMethodName

      public void setMethodName​(String methodName)
      Sets the methodName.
      Parameters:
      methodName - the methodName to set
    • getFileName

      public String getFileName()
      Get the name of the file of the element.
      Returns:
      the fileName
    • setFileName

      public void setFileName​(String fileName)
      Sets the fileName.
      Parameters:
      fileName - the fileName to set
    • getLineNumber

      public int getLineNumber()
      Get the line number of the element.
      Returns:
      the lineNumber
    • setLineNumber

      public void setLineNumber​(int lineNumber)
      Sets the lineNumber.
      Parameters:
      lineNumber - the lineNumber to set
    • toSTE

      public StackTraceElement toSTE()
      Convert this remote stack trace element to a standard Java stack trace element.
      Returns:
      The created stack trace element.