|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JPackitEventProducer
Interface that encapsulates event producing for notification framework.
Method Summary | |
---|---|
void |
addNotificationListener(JPackitNotificationListener listener)
Adds JPackitNotificationListener to JPackitEventProducer so it can pass information about generation process. |
void |
cancelAction()
Notifies JPackitEventProducer that current operation should be interrupted |
void |
fireActionInterrupted()
Notifies all registered JPackitNotificationListener that build process was interrupted |
void |
fireErrorMessageChanged(JPackitNotificationEvent event)
Notifies all registered JPackitNotificationListener that error occured |
void |
fireProgressInfoChanged(JPackitNotificationEvent event)
Notifies all registered JPackitNotificationListener that progress info changed |
void |
fireStateChanged(JPackitNotificationEvent event)
Notifies all registered JPackitNotificationListener that state changed |
void |
removeNotificationListener(JPackitNotificationListener listener)
Removes JPackitNotificationListener |
Method Detail |
---|
void addNotificationListener(JPackitNotificationListener listener)
listener
- JPackitNotificationListener to add..void removeNotificationListener(JPackitNotificationListener listener)
listener
- JPackitNotificationListener to remove.void fireStateChanged(JPackitNotificationEvent event)
event
- JPackitNotificationEvent to pass to listeners.void fireProgressInfoChanged(JPackitNotificationEvent event)
event
- JPackitNotificationEvent to pass to listeners.void fireErrorMessageChanged(JPackitNotificationEvent event)
event
- JPackitNotificationEvent to pass to listeners.void fireActionInterrupted()
void cancelAction()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |