Forge - Shell API 1.2.0.Final

org.jboss.forge.shell.events
Class ProjectChanged

java.lang.Object
  extended by org.jboss.forge.shell.events.ProjectChanged

public final class ProjectChanged
extends Object

An event that notifies observers immediately after the current Project has changed.

For example:

public void myObserver(@Observes ProjectChanged event)
{
// do something
}

Author:
Lincoln Baxter, III

Constructor Summary
ProjectChanged(Project oldProject, Project newProject)
           
 
Method Summary
 Project getNewProject()
           
 Project getOldProject()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectChanged

public ProjectChanged(Project oldProject,
                      Project newProject)
Method Detail

getOldProject

public Project getOldProject()
Returns:
the old Project

getNewProject

public Project getNewProject()
Returns:
the new Project

Forge - Shell API 1.2.0.Final

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.