|
| 1 | +// Licensed to the Software Freedom Conservancy (SFC) under one |
| 2 | +// or more contributor license agreements. See the NOTICE file |
| 3 | +// distributed with this work for additional information |
| 4 | +// regarding copyright ownership. The SFC licenses this file |
| 5 | +// to you under the Apache License, Version 2.0 (the |
| 6 | +// "License"); you may not use this file except in compliance |
| 7 | +// with the License. You may obtain a copy of the License at |
| 8 | +// |
| 9 | +// http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +// |
| 11 | +// Unless required by applicable law or agreed to in writing, |
| 12 | +// software distributed under the License is distributed on an |
| 13 | +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 14 | +// KIND, either express or implied. See the License for the |
| 15 | +// specific language governing permissions and limitations |
| 16 | +// under the License. |
| 17 | +package org.openqa.selenium.manager; |
| 18 | + |
| 19 | +import java.util.List; |
| 20 | + |
| 21 | +public class SeleniumManagerJsonOutput { |
| 22 | + |
| 23 | + public List<Log> logs; |
| 24 | + public Result result; |
| 25 | + |
| 26 | + public List<Log> getLogs() { |
| 27 | + return logs; |
| 28 | + } |
| 29 | + |
| 30 | + public void setLogs(List<Log> logs) { |
| 31 | + this.logs = logs; |
| 32 | + } |
| 33 | + |
| 34 | + public Result getResult() { |
| 35 | + return result; |
| 36 | + } |
| 37 | + |
| 38 | + public void setResult(Result result) { |
| 39 | + this.result = result; |
| 40 | + } |
| 41 | + |
| 42 | + public static class Log { |
| 43 | + public String level; |
| 44 | + long timestamp; |
| 45 | + public String message; |
| 46 | + |
| 47 | + public String getLevel() { |
| 48 | + return level; |
| 49 | + } |
| 50 | + |
| 51 | + public void setLevel(String level) { |
| 52 | + this.level = level; |
| 53 | + } |
| 54 | + |
| 55 | + public long getTimestamp() { |
| 56 | + return timestamp; |
| 57 | + } |
| 58 | + |
| 59 | + public void setTimestamp(long timestamp) { |
| 60 | + this.timestamp = timestamp; |
| 61 | + } |
| 62 | + |
| 63 | + public String getMessage() { |
| 64 | + return message; |
| 65 | + } |
| 66 | + |
| 67 | + public void setMessage(String message) { |
| 68 | + this.message = message; |
| 69 | + } |
| 70 | + } |
| 71 | + |
| 72 | + public static class Result { |
| 73 | + public int code; |
| 74 | + public String message; |
| 75 | + |
| 76 | + public int getCode() { |
| 77 | + return code; |
| 78 | + } |
| 79 | + |
| 80 | + public void setCode(int code) { |
| 81 | + this.code = code; |
| 82 | + } |
| 83 | + |
| 84 | + public String getMessage() { |
| 85 | + return message; |
| 86 | + } |
| 87 | + |
| 88 | + public void setMessage(String message) { |
| 89 | + this.message = message; |
| 90 | + } |
| 91 | + } |
| 92 | + |
| 93 | +} |
0 commit comments