17 clean up services structure (#18)
* Refactor ClipService and MediaService * Refactor ClipService for less coupling to Jobs * PATCH unnecessary requests in frontend * REFACTOR MetadataService to use CommandRunner * REFACTOR DirectoryService and UploadService * REFACTOR ClipService * MERGE MetadataService with MediaService
This commit is contained in:
16
src/main/java/com/ddf/vodsystem/dto/CommandOutput.java
Normal file
16
src/main/java/com/ddf/vodsystem/dto/CommandOutput.java
Normal file
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
|
||||
public void addLine(String line) {
|
||||
output.add(line);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user