|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent org.eclipse.emf.mwe.utils.FileCopy
public class FileCopy
Copies one file in the file system to another location. Performs low-level read/write operations using NIO.
Constructor Summary | |
---|---|
FileCopy()
|
Method Summary | |
---|---|
void |
checkConfiguration(Issues issues)
Called by the container after configuration so the component can validate the configuration before invocation. |
protected void |
invokeInternal(WorkflowContext ctx,
ProgressMonitor monitor,
Issues issues)
Internal method for component execution. |
void |
setSourceFile(java.lang.String sourceFile)
|
void |
setTargetFile(java.lang.String targetFile)
|
Methods inherited from class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent |
---|
checkRequiredConfigProperty, getBridge, getComponentName, getContainer, getId, getLocation, getLogMessage, invoke, invoke, postInvoke, preInvoke, setContainer, setId, setLocation, setSkipOnErrors |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileCopy()
Method Detail |
---|
public void setSourceFile(java.lang.String sourceFile)
public void setTargetFile(java.lang.String targetFile)
public void checkConfiguration(Issues issues)
WorkflowComponent
issues
- implementors should report configuration issues to this.protected void invokeInternal(WorkflowContext ctx, ProgressMonitor monitor, Issues issues)
AbstractWorkflowComponent
invokeInternal
in class AbstractWorkflowComponent
ctx
- the workflow contextmonitor
- the progress monitorissues
- container of execution issues
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |