Class ProgressReportMessage

java.lang.Object
com.biglybt.ui.swt.progress.ProgressReportMessage
All Implemented Interfaces:
IMessage, IProgressReportConstants

public class ProgressReportMessage extends Object implements IMessage, IProgressReportConstants
A simple class for a message
  • Field Details

    • value

      private String value
    • type

      private int type
  • Constructor Details

    • ProgressReportMessage

      public ProgressReportMessage(String value, int type)
      Create a message for the given value and type; message type can by any one of:
      • IProgressReportConstants.MSG_TYPE_ERROR -- an error message
      • IProgressReportConstants.MSG_TYPE_INFO -- a general informational message
      • IProgressReportConstants.MSG_TYPE_LOG -- a log message; for messages that are more detailed and verbose
      Parameters:
      value -
      type -
  • Method Details

    • getValue

      public String getValue()
      Specified by:
      getValue in interface IMessage
    • getType

      public int getType()
      Specified by:
      getType in interface IMessage
    • isError

      public boolean isError()
    • isInfo

      public boolean isInfo()
    • isLog

      public boolean isLog()