Uses of Interface
org.eclipse.wst.server.core.IModule

Packages that use IModule
org.eclipse.wst.server.core The main server tools framework client API. 
org.eclipse.wst.server.core.model SPI support for the server tools framework. 
org.eclipse.wst.server.core.util Utility classes for the server tools framework. 
 

Uses of IModule in org.eclipse.wst.server.core
 

Methods in org.eclipse.wst.server.core that return IModule
 IModule IModuleArtifact.getModule()
          Returns the module that this artifact is a part of.
 IModule[] IServerAttributes.getModules()
          Returns an array of user modules that are currently being published to this server.
 IModule[] IServerAttributes.getChildModules(IModule[] module, IProgressMonitor monitor)
          Returns the child module(s) of this module.
 IModule[] IServerAttributes.getRootModules(IModule module, IProgressMonitor monitor)
          Returns the parent module(s) of this module.
 IModule[] ServerEvent.getModule()
          Returns the module tree of the module involved in the module change event, or null if the event is not a module event, i.e.
static IModule[] ServerUtil.getModules(IProject project)
          Returns the project modules attached to a project.
static IModule ServerUtil.getModule(java.lang.String moduleId)
          Returns a module from the given moduleId.
 

Methods in org.eclipse.wst.server.core with parameters of type IModule
 int IServer.getModulePublishState(IModule[] module)
          Returns the module's sync state.
 IStatus IServer.canRestartModule(IModule[] module, IProgressMonitor monitor)
          Returns whether the given module can be restarted.
 boolean IServer.getModuleRestartState(IModule[] module)
          Check if the given module is in sync on the server.
 void IServer.restartModule(IModule[] module, IProgressMonitor monitor)
          Asynchronously restarts the given module on the server.
 void IServer.synchronousRestartModule(IModule[] module, IProgressMonitor monitor)
          Restarts the given module and waits until it has finished restarting.
 int IServer.getModuleState(IModule[] module)
          Returns the current state of the given module on this server.
 IStatus IServerAttributes.canModifyModules(IModule[] add, IModule[] remove, IProgressMonitor monitor)
          Returns whether the specified module modifications could be made to this server at this time.
 IModule[] IServerAttributes.getChildModules(IModule[] module, IProgressMonitor monitor)
          Returns the child module(s) of this module.
 IModule[] IServerAttributes.getRootModules(IModule module, IProgressMonitor monitor)
          Returns the parent module(s) of this module.
 void IServerWorkingCopy.modifyModules(IModule[] add, IModule[] remove, IProgressMonitor monitor)
          Modifies the list of modules associated with the server.
static void ServerUtil.modifyModules(IServerWorkingCopy server, IModule[] add, IModule[] remove, IProgressMonitor monitor)
          Adds or removes modules from a server.
static IServer[] ServerUtil.getAvailableServersForModule(IModule module, boolean includeErrors, IProgressMonitor monitor)
          Returns a list of all servers that this deployable is not currently configured on, but could be added to.
static IServer[] ServerUtil.getServersByModule(IModule module, IProgressMonitor monitor)
          Returns a list of all servers that this module is configured on.
static boolean ServerUtil.containsModule(IServer server, IModule module, IProgressMonitor monitor)
          Returns true if the given server currently contains the given module.
 

Constructors in org.eclipse.wst.server.core with parameters of type IModule
ServerEvent(int kind, IServer server, IModule[] module, int state, int publishingState, boolean restartState)
          Create a new ServerEvent for module change events.
 

Uses of IModule in org.eclipse.wst.server.core.model
 

Methods in org.eclipse.wst.server.core.model that return IModule
 IModule ModuleDelegate.getModule()
          Returns the module that this module delegate corresponds to.
abstract  IModule[] ModuleDelegate.getChildModules()
          Returns the child modules of this module.
 IModule ModuleFactoryDelegate.createModule(java.lang.String id, java.lang.String name, java.lang.String type, java.lang.String version, IProject project)
          Creates a module instance with the given static information.
abstract  IModule[] ModuleFactoryDelegate.getModules()
          Return all modules created by this factory.
abstract  IModule[] ServerDelegate.getChildModules(IModule[] module)
          Returns the child module(s) of this module.
abstract  IModule[] ServerDelegate.getRootModules(IModule module)
          Returns the parent module(s) of this module.
 

Methods in org.eclipse.wst.server.core.model with parameters of type IModule
 java.net.URL IURLProvider.getModuleRootURL(IModule module)
          Return the base URL of this module on the server.
 void ModuleDelegate.initialize(IModule newModule)
          Initializes this module delegate with its life-long module instance.
abstract  ModuleDelegate ModuleFactoryDelegate.getModuleDelegate(IModule module)
          Creates the module delegate for a module with the given information.
 void ServerBehaviourDelegate.setModuleState(IModule[] module, int state)
          Hook to fire an event when a module state changes.
 void ServerBehaviourDelegate.setModulePublishState(IModule[] module, int state)
          Sets the module publish state.
 void ServerBehaviourDelegate.setModuleRestartState(IModule[] module, boolean state)
          Sets the module restart state.
 boolean ServerBehaviourDelegate.canRestartModule(IModule[] module)
          Returns whether the given module can be restarted.
 void ServerBehaviourDelegate.restartModule(IModule[] module, IProgressMonitor monitor)
          Asynchronously restarts the given module on the server.
 IModuleResource[] ServerBehaviourDelegate.getPublishedResources(IModule[] module)
          Returns the module resources that have been published to the server.
 IModuleResourceDelta[] ServerBehaviourDelegate.getPublishedResourceDelta(IModule[] module)
          Returns the delta of the current module resources that have been published compared to the current state of the module.
 void ServerBehaviourDelegate.setModuleStatus(IModule[] module, IStatus status)
          Set a status on a specific module.
abstract  IStatus ServerDelegate.canModifyModules(IModule[] add, IModule[] remove)
          Returns whether the specified module modifications could be made to this server at this time.
abstract  IModule[] ServerDelegate.getChildModules(IModule[] module)
          Returns the child module(s) of this module.
abstract  IModule[] ServerDelegate.getRootModules(IModule module)
          Returns the parent module(s) of this module.
abstract  void ServerDelegate.modifyModules(IModule[] add, IModule[] remove, IProgressMonitor monitor)
          Modifies the list of modules associated with the server.
 

Uses of IModule in org.eclipse.wst.server.core.util
 

Methods in org.eclipse.wst.server.core.util that return IModule
 IModule NullModuleArtifact.getModule()
           
 IModule[] ProjectModule.getChildModules()
          Returns the child modules of this module.
 IModule[] ProjectModuleFactoryDelegate.getModules(IProject project)
          Returns the modules for the given project, or null if this factory does not have a module for the given project.
 IModule WebResource.getModule()
           
 

Constructors in org.eclipse.wst.server.core.util with parameters of type IModule
NullModuleArtifact(IModule module)
          Create a new reference to a module.
WebResource(IModule module, IPath path)
          Create a new reference to a Web resource (HTML, GIF, etc.