public class DXLCompositeFragment extends Object implements DXLFragment, DXLExecutionListener
Modifier and Type | Method and Description |
---|---|
static DXLFragment |
create(DXLFragment[] fragments)
Instantiates a fragment that combines the specified fragments.
|
void |
executionCompleted()
Notification sent when the DXL script execution is completed.
|
void |
executionStarted()
Notification sent when the DXL script execution is about to start.
|
void |
write(Writer writer)
Writes the content of this fragment into the specified writer.
|
public static DXLFragment create(DXLFragment[] fragments)
fragments
- the fragments to combine.public void write(Writer writer) throws IOException
DXLFragment
DXLEngine
when combining
fragments into a DXL file.write
in interface DXLFragment
writer
- the writer in which to output the content of the fragment.IOException
- if the content cannot be written.public void executionStarted() throws org.eclipse.core.runtime.CoreException
DXLExecutionListener
executionStarted
in interface DXLExecutionListener
org.eclipse.core.runtime.CoreException
- if an error occurs in the listener that should abort the execution.public void executionCompleted() throws org.eclipse.core.runtime.CoreException
DXLExecutionListener
executionCompleted
in interface DXLExecutionListener
org.eclipse.core.runtime.CoreException
- if an error occurs in the listener that should abort the execution.