|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.wst.server.core.model.ModuleDelegate
org.eclipse.wst.server.core.util.ProjectModule
A simple IModuleProject that maps a folder within a project (or the root of the project itself) to the module.
| Constructor Summary | |
ProjectModule()
Create a new project module. |
|
ProjectModule(org.eclipse.core.resources.IProject project)
Create a new project module in the given project. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
|
boolean |
exists()
Returns true if this module currently exists, and false if it has been deleted or moved and is no longer represented by this module. |
IModule[] |
getChildModules()
Returns the child modules of this module. |
java.lang.String |
getId()
Helper method - returns the module's id. |
java.lang.String |
getName()
Helper method - returns the module's name. |
org.eclipse.core.resources.IProject |
getProject()
Returns the project that the module is contained in. |
org.eclipse.core.runtime.IPath |
getRootFolder()
Returns the root folder. |
IModuleResource[] |
members()
Returns the current array of module artifacts. |
org.eclipse.core.runtime.IStatus |
validate()
Validates this module instance. |
| Methods inherited from class org.eclipse.wst.server.core.model.ModuleDelegate |
getModule, initialize, initialize |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ProjectModule()
public ProjectModule(org.eclipse.core.resources.IProject project)
project - the project containing the module| Method Detail |
public org.eclipse.core.resources.IProject getProject()
public org.eclipse.core.runtime.IPath getRootFolder()
public java.lang.String getId()
public org.eclipse.core.runtime.IStatus validate()
ModuleDelegateThis method is called by the web server core framework. Clients should never call this method.
validate in class ModuleDelegateIStatus.OK if this
module is valid, otherwise a status object indicating what is
wrong with itModuleDelegate.validate()
public IModuleResource[] members()
throws org.eclipse.core.runtime.CoreException
ModuleDelegate
members in class ModuleDelegateorg.eclipse.core.runtime.CoreException - thrown if there is a problem getting the membersModuleDelegate.members()public java.lang.String getName()
public boolean exists()
public boolean equals(java.lang.Object obj)
Object.equals(Object)public IModule[] getChildModules()
getChildModules in class ModuleDelegate
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||