Class RemoteStackTraceElement
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.model.job.RemoteStackTraceElement
Represents a stack trace provided remotely.
- 
Constructor SummaryConstructorsConstructorDescriptionConstructor for serialisation.RemoteStackTraceElement(StackTraceElement element) Create an element of a remote stack trace from a standard stack trace element.
- 
Method SummaryModifier and TypeMethodDescriptionGet the name of the class of the element.Get the name of the file of the element.intGet the line number of the element.Get the name of the method of the element.voidsetClassName(String className) Sets the className.voidsetFileName(String fileName) Sets the fileName.voidsetLineNumber(int lineNumber) Sets the lineNumber.voidsetMethodName(String methodName) Sets the methodName.toSTE()Convert this remote stack trace element to a standard Java stack trace element.
- 
Constructor Details- 
RemoteStackTraceElementpublic RemoteStackTraceElement()Constructor for serialisation.
- 
RemoteStackTraceElementCreate an element of a remote stack trace from a standard stack trace element.- Parameters:
- element- The stack trace element to convert.
 
 
- 
- 
Method Details- 
getClassNameGet the name of the class of the element.- Returns:
- the className
 
- 
setClassNameSets the className.- Parameters:
- className- the className to set
 
- 
getMethodNameGet the name of the method of the element.- Returns:
- the methodName
 
- 
setMethodNameSets the methodName.- Parameters:
- methodName- the methodName to set
 
- 
getFileNameGet the name of the file of the element.- Returns:
- the fileName
 
- 
setFileNameSets the fileName.- Parameters:
- fileName- the fileName to set
 
- 
getLineNumberpublic int getLineNumber()Get the line number of the element.- Returns:
- the lineNumber
 
- 
setLineNumberpublic void setLineNumber(int lineNumber) Sets the lineNumber.- Parameters:
- lineNumber- the lineNumber to set
 
- 
toSTEConvert this remote stack trace element to a standard Java stack trace element.- Returns:
- The created stack trace element.
 
 
-