gws_core

Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version

Connector

Connector class representing the connection of two Ports.

:param in_port: Left-hand side in_port :type in_port: InPort :param out_port: Right-hand side out_port :type out_port: OutPort

Attributes
left_port_name: strleft_process: ProcessModelright_port_name: strright_process: ProcessModel
Functions
__init__

Initialize self. See help(type(self)) for accurate signature.

left_process : ProcessModel
right_process : ProcessModel
left_port_name : str
right_port_name : str
check_compatiblity : bool - True
is_connected_to

return true if the connector is connected to the process model

process_model : ProcessModel
Return type : bool
is_left_connected_to

return true if the left side is the specified process connected to the specified port

process_model_name : str
port_name : str
Return type : bool
is_right_connected_to

return true if the right side is the specified process connected to the specified port

process_model_name : str
port_name : str
Return type : bool
propagate_resource

Propagate the resource from the output port to the input port.

Return type : bool
reset_right_port

reset the right port

to_dto
Return type : ConnectorDTO