Class SuspendedProcess

    • Constructor Detail

      • SuspendedProcess

        public SuspendedProcess()
    • Method Detail

      • setProcessName

        public void setProcessName​(String processName)

        The name of the suspended process.

        Parameters:
        processName - The name of the suspended process.
      • getProcessName

        public String getProcessName()

        The name of the suspended process.

        Returns:
        The name of the suspended process.
      • withProcessName

        public SuspendedProcess withProcessName​(String processName)

        The name of the suspended process.

        Parameters:
        processName - The name of the suspended process.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSuspensionReason

        public void setSuspensionReason​(String suspensionReason)

        The reason that the process was suspended.

        Parameters:
        suspensionReason - The reason that the process was suspended.
      • getSuspensionReason

        public String getSuspensionReason()

        The reason that the process was suspended.

        Returns:
        The reason that the process was suspended.
      • withSuspensionReason

        public SuspendedProcess withSuspensionReason​(String suspensionReason)

        The reason that the process was suspended.

        Parameters:
        suspensionReason - The reason that the process was suspended.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object