public List < String > getInPorts ( ) { List < String > ports = new ArrayList <> ( ) ; JsonObject jsonPorts = config . getObject ( "ports" ) ; if ( jsonPorts == null ) { return ports ; } JsonArray jsonInPorts = jsonPorts . getArray ( "in" ) ; if ( jsonInPorts == null ) { return ports ; } for ( Object jsonInPort : jsonInPorts ) { ports . add ( ( String ) jsonInPort ) ; } return ports ; }
Returns a list of input ports defined by the module .