(IComponent component, String streamId)
| 66 | } |
| 67 | |
| 68 | static Fields getOutputFields(IComponent component, String streamId) { |
| 69 | OutputFieldsGetter getter = new OutputFieldsGetter(); |
| 70 | component.declareOutputFields(getter); |
| 71 | Map<String, StreamInfo> fieldsDeclaration = getter.getFieldsDeclaration(); |
| 72 | if ((fieldsDeclaration != null) && fieldsDeclaration.containsKey(streamId)) { |
| 73 | return new Fields(fieldsDeclaration.get(streamId).get_output_fields()); |
| 74 | } |
| 75 | return new Fields(); |
| 76 | } |
| 77 | |
| 78 | public Fields getOutputFields() { |
| 79 | return outputFields; |
nothing calls this directly
no test coverage detected