org.eclipse.wst.server.core
Interface IProjectProperties


public interface IProjectProperties

This interface holds information on the properties of a given project.

This interface is not intended to be implemented by clients.

Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.


Method Summary
 IRuntime getRuntimeTarget()
          Returns the current runtime target for this project.
 void setRuntimeTarget(IRuntime runtime, org.eclipse.core.runtime.IProgressMonitor monitor)
          Sets the runtime target for the project.
 

Method Detail

getRuntimeTarget

public IRuntime getRuntimeTarget()
Returns the current runtime target for this project.

Returns:
the current runtime target, or null if the project has no runtime target

setRuntimeTarget

public void setRuntimeTarget(IRuntime runtime,
                             org.eclipse.core.runtime.IProgressMonitor monitor)
                      throws org.eclipse.core.runtime.CoreException
Sets the runtime target for the project.

Parameters:
runtime - the runtime to use as the target, or null to unset the target
monitor - a progress monitor, or null if progress reporting and cancellation are not desired
Throws:
org.eclipse.core.runtime.CoreException - if there is a problem setting the runtime target