()
| 24 | } |
| 25 | |
| 26 | validate(): Collection<Error> { |
| 27 | const errors = new Collection<Error>() |
| 28 | if (!isURI(this.url)) { |
| 29 | errors.add(new Error(`The stream URL "${this.url}" is invalid`)) |
| 30 | } |
| 31 | |
| 32 | return errors |
| 33 | } |
| 34 | |
| 35 | updateWithIssue(dataSet: DataSet): this { |
| 36 | const streamId = dataSet.getString('stream_id') || '' |
no test coverage detected