blob: 71f83d5324225a3a3a07ca9a568a575e5afb530a [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Publish Tasks</title>
<style type="text/css">@import url("../../book.css");</style>
<style type="text/css">@import url("../../schema.css");</style>
<H1 style="text-align:center">Publish Tasks</H1>
<h6 class="CaptionFigColumn SchemaHeader">Identifier: </h6>org.eclipse.wst.server.core.publishTasks<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Since: </h6>1.0
<h6 class="CaptionFigColumn SchemaHeader">Description: </h6>This extension point is used to provide a task that is run while publishing to a server.<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Configuration Markup:</h6>
<p class="code SchemaDtd">&lt;!ELEMENT <a name="e.extension">extension</a> (<a href="#e.publishTask">publishTask</a>+)&gt;</p>
<p class="code SchemaDtd">&lt;!ATTLIST extension</p>
<p class="code SchemaDtdAttlist">point&nbsp;CDATA #REQUIRED<p class="code SchemaDtdAttlist">id&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class="code SchemaDtdAttlist">name&nbsp;&nbsp;CDATA #IMPLIED&gt;</p>
<ul class="ConfigMarkupAttlistDesc">
<li><b>point</b> - a fully qualified identifier of the target extension point</li>
<li><b>id</b> - an optional identifier of the extension instance</li>
<li><b>name</b> - an optional name of the extension instance</li>
<br><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.publishTask">publishTask</a> EMPTY&gt;</p>
<p class="code SchemaDtd">&lt;!ATTLIST publishTask</p>
<p class="code SchemaDtdAttlist">id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED<p class="code SchemaDtdAttlist">class&nbsp;&nbsp;&nbsp;CDATA #REQUIRED<p class="code SchemaDtdAttlist">typeIds&nbsp;CDATA #REQUIRED&gt;</p>
<ul class="ConfigMarkupAttlistDesc">
<li><b>id</b> - specifies a unique identifier for this extension point</li>
<li><b>class</b> - specifies the fully qualified name of the Java class that implements <samp>org.eclipse.wst.server.core.model.PublishTaskDelegate</samp>.
Publish task instances of this type will delegate to instances of this class.</li>
<li><b>typeIds</b> - a comma separated list of server type ids that this task may apply to. Used for memory & performance reasons</li>
<br><h6 class="CaptionFigColumn SchemaHeader">Examples: </h6>The following is an example of a publish task extension point:
<pre class="Example"><span class="code SchemaTag">
<p class="note SchemaCopyright">
Copyright (c) 2000, 2005 IBM Corporation and others.<br>
All rights reserved. This program and the accompanying materials are made
available under the terms of the Eclipse Public License v1.0 which accompanies
this distribution, and is available at
<a href=""></a>