|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.wst.server.core.model.PublisherDelegate
public abstract class PublisherDelegate
An operation that will be executed during publishing.
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.
Constructor Summary | |
---|---|
PublisherDelegate()
Create a new operation. |
Method Summary | |
---|---|
abstract IStatus |
execute(int kind,
IProgressMonitor monitor,
IAdaptable info)
Execute (perform) the operation. |
TaskModel |
getTaskModel()
Return the task model. |
void |
setTaskModel(TaskModel taskModel)
Set the task model. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PublisherDelegate()
Method Detail |
---|
public TaskModel getTaskModel()
A task model contains information about the overall task flow and allows tasks to store and retrieve data. Its usage allows multiple tasks to be chained together and share data from the output of one task to the input of another.
setTaskModel(TaskModel)
public void setTaskModel(TaskModel taskModel)
A task model contains information about the overall task flow and allows tasks to store and retrieve data. Its usage allows multiple tasks to be chained together and share data from the output of one task to the input of another.
taskModel
- the task modelgetTaskModel()
public abstract IStatus execute(int kind, IProgressMonitor monitor, IAdaptable info) throws CoreException
kind
- the kind of publish being requested. Valid values are:
PUBLISH_FULL
- indicates a full publish.PUBLISH_INCREMENTAL
- indicates a incremental publish.
PUBLISH_CLEAN
- indicates a clean request. Clean throws
out all state and cleans up the module on the server before doing a
full publish.
monitor
- a progress monitor, or null
if progress
reporting and cancellation are not desiredinfo
- the IAdaptable (or null
) provided by the
caller in order to supply UI information for prompting the
user if necessary. When this parameter is not
null
, it should minimally contain an adapter
for the Shell class.
CoreException
- if there was an error while executing the task
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |