com.ptc.windchill.upgrade.ius
Class UpdateRunnerLogEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.ptc.windchill.upgrade.ius.UpdateRunnerEvent
          extended bycom.ptc.windchill.upgrade.ius.UpdateRunnerLogEvent
All Implemented Interfaces:
Serializable

public class UpdateRunnerLogEvent
extends UpdateRunnerEvent

Log message generated during running of IncrementalUpdates are manifested as this type of event. Events fired because of messages logged with a Throwable will have a non-null Throwable.

See Also:
Serialized Form

Field Summary
private  String message_
           
 
Fields inherited from class com.ptc.windchill.upgrade.ius.UpdateRunnerEvent
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
UpdateRunnerLogEvent(UpdateRunner update_runner, String message)
           
UpdateRunnerLogEvent(UpdateRunner update_runner, String message, Throwable throwable)
           
 
Method Summary
 String getMessage()
          The message to be logged.
 
Methods inherited from class com.ptc.windchill.upgrade.ius.UpdateRunnerEvent
getThrowable, getUpdateRunner
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

message_

private String message_
Constructor Detail

UpdateRunnerLogEvent

public UpdateRunnerLogEvent(UpdateRunner update_runner,
                            String message)
Parameters:
update_runner - The UpdateRunner that issued the event.
message - May not be null.

UpdateRunnerLogEvent

public UpdateRunnerLogEvent(UpdateRunner update_runner,
                            String message,
                            Throwable throwable)
Parameters:
update_runner - The UpdateRunner that issued the event.
message - May not be null.
throwable - The caught error that needs to be logged.
Method Detail

getMessage

public final String getMessage()
The message to be logged.

Returns:
a non-null string value