1 23 package com.sun.enterprise.admin.event; 24 25 30 public class LogLevelChangeEvent extends AdminEvent { 31 32 35 static final String eventType = LogLevelChangeEvent.class.getName(); 36 37 40 private String moduleName; 41 42 45 private String oldLogLevel; 46 47 50 private String newLogLevel; 51 52 56 private boolean propertyChanged = false; 57 58 61 private String modifiedPropertyName = null; 62 63 67 public LogLevelChangeEvent(String instanceName) { 68 this(eventType, instanceName); 69 } 70 71 76 protected LogLevelChangeEvent(String eventType, String instanceName) { 77 super(eventType, instanceName); 78 } 79 80 84 public String getModuleName() { 85 return moduleName; 86 } 87 88 92 void setModuleName(String moduleName) { 93 this.moduleName = moduleName; 94 } 95 96 100 public String getOldLogLevel() { 101 return oldLogLevel; 102 } 103 104 107 void setOldLogLevel(String oldLevel) { 108 oldLogLevel = oldLevel; 109 } 110 111 115 public String getNewLogLevel() { 116 return newLogLevel; 117 } 118 119 122 void setNewLogLevel(String newLevel) { 123 this.newLogLevel = newLevel; 124 } 125 126 131 public boolean isPropertyChanged() { 132 return this.propertyChanged; 133 } 134 135 140 void setPropertyChanged(boolean tf) { 141 this.propertyChanged = tf; 142 } 143 144 148 public String getPropertyName() { 149 return this.modifiedPropertyName; 150 } 151 152 156 void setPropertyName(String name) { 157 this.modifiedPropertyName = name; 158 } 159 } 160 | Popular Tags |