1 23 24 28 29 package com.sun.enterprise.tools.upgrade.common; 30 31 import java.util.logging.LogRecord ; 32 33 38 public class LogMessageEvent extends java.util.EventObject { 39 40 private String message; 41 42 private int progressState; 45 private LogRecord logRecord; 46 47 48 49 public LogMessageEvent(java.lang.Object source) { 50 super(source); 51 } 52 public LogMessageEvent(java.lang.Object source, String msg) { 53 super(source); 54 this.message = msg; 55 } 56 public String getMessage() { 57 return this.message; 58 } 59 60 public void setMessage(String obj1) { 61 this.message = obj1; 62 } 63 public int getProgressState() { 64 return this.progressState; 65 } 66 67 public void setProgressState(int st) { 68 this.progressState = st; 69 } 70 71 public java.util.logging.LogRecord getLogRecord() { 72 return logRecord; 73 } 74 75 public void setLogRecord(java.util.logging.LogRecord logRecord) { 76 this.logRecord = logRecord; 77 } 78 79 } 80 | Popular Tags |