()
| 68 | } |
| 69 | |
| 70 | public ContainerLogs getLogs() { |
| 71 | if (this.running) { |
| 72 | LOG.info("Getting logs " + getId()); |
| 73 | return protocol.getContainerLogs(getId()); |
| 74 | } |
| 75 | return new ContainerLogs(getId(), Contents.empty()); |
| 76 | } |
| 77 | |
| 78 | public boolean isRunning() { |
| 79 | return running; |