Files
vod-system/src/main/java/com/ddf/vodsystem/dto/CommandOutput.java
Dylan De Faoite ec9a982fe9
All checks were successful
CI / Maven unit tests (push) Successful in 18s
CI / Build and push images (push) Has been skipped
CI / Deploy to server (push) Has been skipped
docs(docstrings): add docstrings to public method interfaces (#25)
- Resolves #18

Reviewed-on: #25
2026-08-24 16:02:04 +01:00

21 lines
414 B
Java

package com.ddf.vodsystem.dto;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
@Data
public class CommandOutput {
private List<String> output = new ArrayList<>();
private int exitCode;
/**
* Appends a line to the captured command output.
*
* @param line the output line to append
*/
public void addLine(String line) {
output.add(line);
}
}