Home | Trees | Indices | Help |
|
---|
|
init()
Create an instance of a workspace runner that can be used to run FME workspaces and retrieve information about FME workspaces.
|
|||
|
|||
a new object with type S, a subtype of T |
|
||
string
|
|
||
string or None
|
|
||
bool or None
|
|
||
string or None
|
|
||
string or None
|
|
||
tuple of string or None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
|
This method retrieves the default value of the parameter specified by paramName. If the the parameter does not have a default value, an empty string is returned.
|
This method retrieves the label string that describes the parameter specified by paramName.
|
This method determines if the specified parameter name on the workspace is an optional parameter.
|
This method retrieves the parameter type of the specified parameter name A full description of each parameter type can be found here: http://docs.safe.com/fme/html/FME_GuiType/
|
This method retrieves the possible parameter values of the specified parameter name. Parameter value availability is dependent on the parameter type of the parameter. Here are some examples of the format the parameter values are returned as, given a certain parameter type:
A full description of the parameter value format for each parameter type can be found here: http://docs.safe.com/fme/html/FME_GuiType/
|
This method retrieves all the published parameter names on the specified workspace.
|
Executes the workspace file specified. This method will always prompt for any published parameters before running the workspace. This method will run mapping files in addition to workspaces. However, workspaces are preferred over mapping files due to the configuration ease workspaces provide.
|
Executes the workspace file specified. The first time this method is called on a workspace, any published parameters will be prompted for before the workspace is run. Subsequent calls to this method with the same workspace will not prompt for published parameters. The published parameters specified during the first call to this method will be used in the subsequent calls. This method will run mapping files in addition to workspaces. However, workspaces are preferred over mapping files due to the configuration ease workspaces provide.
|
Executes the workspace file specified using the parameter values. The parameter values are to be specified as name/value pairs. For example, for the pair SHAPE_IN_DISSOLVE_HOLES_SHAPE/no: >>> runner.runWithParameters('workspace.fmw', {'SHAPE_IN_DISSOLVE_HOLES_SHAPE', 'no'})
|
Executes the workspace file specified using the parameter values and FME directives. Both the parameter values and FME directives are to be specified as name/value pairs. For example, for the parameter pair SHAPE_IN_DISSOLVE_HOLES_SHAPE/no and FME directive pair LOG_FILENAME/out.log: >>> IFMEStringArray* parameters = fmeSession->createStringArray(); >>> parameters->append("SHAPE_IN_DISSOLVE_HOLES_SHAPE"); >>> parameters->append("no"); >>> IFMEStringArray* directives = fmeSession->createStringArray(); >>> parameters->append("LOG_FILENAME"); >>> parameters->append("out.log"); >>> runner->runWithParametersAndDirectives(*workspace, *parameters, *directives);
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Apr 20 06:21:05 2017 | http://epydoc.sourceforge.net |