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[] 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. isModuleEvent() is false.
 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 configured on the 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.
static IModule ServerUtil.getModule(IProject project)
          Returns the project modules attached to a project.
static IModule[] ServerUtil.getModules(IModuleType[] moduleTypes)
          Return all the available modules from all factories whose type matches the given module types.
static IModule[] ServerUtil.getModules(java.lang.String type)
          Return all the available modules from all factories whose type matches the given module type id.
 

Methods in org.eclipse.wst.server.core with parameters of type IModule
static IServer ServerCore.getDefaultServer(IModule module)
          Returns the preferred runtime server for the given module.
static void ServerCore.setDefaultServer(IModule module, IServer server, IProgressMonitor monitor)
          Sets the preferred runtime server for the given module.
 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.
 int IServer.getModuleState(IModule[] module)
          Returns the current state of the given module on this server.
 int IServer.getModulePublishState(IModule[] module)
          Returns the module's sync state.
 boolean IServer.getModuleRestartState(IModule[] module)
          Check if the given module is in sync on the server.
 IStatus IServer.canControlModule(IModule[] module, IProgressMonitor monitor)
          Returns whether the given module can be restarted.
 void IServer.startModule(IModule[] module, IServer.IOperationListener listener)
          Asynchronously starts this server in the given launch mode.
 void IServer.stopModule(IModule[] module, IServer.IOperationListener listener)
          Asynchronously stops the given module.
 void IServer.restartModule(IModule[] module, IServer.IOperationListener listener)
          Asynchronously restarts the given module on 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.
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  IModule[] ModuleFactoryDelegate.getModules()
          Return all modules created by this factory.
 

Methods in org.eclipse.wst.server.core.model with parameters of type IModule
 void ModuleDelegate.initialize(IModule newModule)
          Initializes this module delegate with its life-long module instance.
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.
 boolean ServerBehaviourDelegate.canControlModule(IModule[] module)
          Returns whether the given module can be restarted.
 void ServerBehaviourDelegate.startModule(IModule[] module, IProgressMonitor monitor)
          Starts the given module on the server.
 void ServerBehaviourDelegate.stopModule(IModule[] module, IProgressMonitor monitor)
          Stops the given module on the server.
 java.net.URL IURLProvider.getModuleRootURL(IModule module)
          Return the base URL of this module on the server.
abstract  ModuleDelegate ModuleFactoryDelegate.getModuleDelegate(IModule module)
          Creates the module delegate for a module with the given information.
 

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

Methods in org.eclipse.wst.server.core.util that return IModule
 IModule[] ProjectModuleFactoryDelegate.getModules()
          Return the modules provided by this factory.
 IModule WebResource.getModule()
           
 IModule NullModuleArtifact.getModule()
           
 IModule[] ProjectModule.getChildModules()
          Returns the child modules of this module.
 

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