|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConnectorContext
Describes the context in which a connector runs. This interface provides access to various elements which help to implement a model reader/writer.
This interface is not intended to be implemented by clients.
| Method Summary | |
|---|---|
ConnectorDescriptor |
getConnectorDescriptor()
Returns the descriptor which details the properties of this connector. |
Logger |
getLogger()
Returns the logger used to report errors and warnings, as well as debugging information. |
ProgressMonitor |
getProgressMonitor()
Returns the monitor used to report progress and to check for cancellation. |
MDWorkbench |
getWorkbench()
Returns the workbench, which may be used to access configuration properties. |
| Methods inherited from interface com.sodius.mdw.core.util.PropertySet |
|---|
getProperty, getProperty, getProperty, getProperty, getProperty, getPropertyNames, setProperty, setProperty, setProperty, setProperty, setProperty |
| Method Detail |
|---|
ConnectorDescriptor getConnectorDescriptor()
The connector descriptor can be helpful to access connector specific properties and to load related resources.
ConnectorDescriptor.getProperty(String),
ConnectorDescriptor.getConfiguration()ProgressMonitor getProgressMonitor()
A connector implementation is expected to check regularly whether the process is canceled,
in which case it should abort as soon as possible its activity.
You may throw an OperationCanceledException to interrupt the reader/writer.
ProgressMonitor.isCanceled(),
OperationCanceledExceptionLogger getLogger()
MDWorkbench getWorkbench()
WorkbenchConfiguration.getCommandLine(),
WorkbenchConfiguration.isHeadless()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||