org.sonatype.gshell.notification
Class ResultNotification

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by org.sonatype.gshell.notification.Notification
              extended by org.sonatype.gshell.notification.ResultNotification
All Implemented Interfaces:
Serializable

public class ResultNotification
extends Notification

Thrown to indicate a command result state.

Since:
2.0
Author:
Jason Dillon
See Also:
Serialized Form

Constructor Summary
ResultNotification(Object result)
           
ResultNotification(String msg, Object result)
           
 
Method Summary
 Object getResult()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResultNotification

public ResultNotification(Object result)

ResultNotification

public ResultNotification(String msg,
                          Object result)
Method Detail

getResult

public Object getResult()


Copyright © 2008-2011 Sonatype. All Rights Reserved.