Package org.eclipse.emf.mwe.utils
Class Writer
- All Implemented Interfaces:
WorkflowComponent
,WorkflowComponentWithID
,IWorkflowComponent
-
Field Summary
Fields inherited from class org.eclipse.emf.mwe.utils.AbstractEMFWorkflowComponent
resourceSet, uri
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkConfiguration
(Issues issues) Called by the container after configuration so the component can validate the configuration before invocation.Returns the component's name.Returns the log message,void
invokeInternal
(WorkflowContext ctx, ProgressMonitor monitor, Issues issues) Internal method for component execution.void
setCloneSlotContents
(boolean b) void
setEncoding
(String encoding) void
setIgnoreEmptySlot
(boolean ignoreEmptySlot) void
setMultipleResourcesInCaseOfList
(boolean b) void
setOPTION_SCHEMA_LOCATION
(boolean option_schema_location) void
setOPTION_SCHEMA_LOCATION_IMPLEMENTATION
(boolean option_schema_location_implementation) Methods inherited from class org.eclipse.emf.mwe.utils.AbstractEMFWorkflowComponent
getResourceSet, getUri, setResourceSet, setUri, setUseSingleGlobalResourceSet
Methods inherited from class org.eclipse.emf.mwe.core.lib.WorkflowComponentWithModelSlot
getModelSlot, setModelSlot
Methods inherited from class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent
checkRequiredConfigProperty, getBridge, getContainer, getId, getLocation, invoke, invoke, postInvoke, preInvoke, setContainer, setId, setLocation, setSkipOnErrors
-
Constructor Details
-
Writer
public Writer()
-
-
Method Details
-
setOPTION_SCHEMA_LOCATION
public void setOPTION_SCHEMA_LOCATION(boolean option_schema_location) -
setEncoding
- Since:
- 1.6
-
setIgnoreEmptySlot
public void setIgnoreEmptySlot(boolean ignoreEmptySlot) -
setMultipleResourcesInCaseOfList
public void setMultipleResourcesInCaseOfList(boolean b) -
setCloneSlotContents
public void setCloneSlotContents(boolean b) -
setOPTION_SCHEMA_LOCATION_IMPLEMENTATION
public void setOPTION_SCHEMA_LOCATION_IMPLEMENTATION(boolean option_schema_location_implementation) -
checkConfiguration
Description copied from interface:WorkflowComponent
Called by the container after configuration so the component can validate the configuration before invocation.- Specified by:
checkConfiguration
in interfaceWorkflowComponent
- Overrides:
checkConfiguration
in classWorkflowComponentWithModelSlot
- Parameters:
issues
- implementors should report configuration issues to this.- See Also:
-
invokeInternal
Description copied from class:AbstractWorkflowComponent
Internal method for component execution.- Specified by:
invokeInternal
in classAbstractWorkflowComponent
- Parameters:
ctx
- the workflow contextmonitor
- the progress monitorissues
- container of execution issues
-
getLogMessage
Description copied from interface:WorkflowComponentWithID
Returns the log message,- Specified by:
getLogMessage
in interfaceWorkflowComponentWithID
- Overrides:
getLogMessage
in classAbstractWorkflowComponent
- Returns:
- the log message
- See Also:
-
getComponentName
Description copied from class:AbstractWorkflowComponent
Returns the component's name. Overridable by custom components.- Specified by:
getComponentName
in interfaceWorkflowComponent
- Overrides:
getComponentName
in classAbstractWorkflowComponent
- Returns:
- simple class name by default
- See Also:
-