forked from WeBankFinTech/DataSphereStudio
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
16e2b09
commit df1ce45
Showing
12 changed files
with
330 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
...va/com.webank.wedatasphere.dss.git.common/protocol/request/GitDiffFileContentRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
package com.webank.wedatasphere.dss.git.common.protocol.request; | ||
|
||
import java.util.List; | ||
|
||
public class GitDiffFileContentRequest extends GitBaseRequest { | ||
|
||
|
||
private String commitId; | ||
/** | ||
* 需获取内容的文件相对路径 | ||
*/ | ||
private List<String> filePaths; | ||
|
||
private String username; | ||
|
||
private Boolean publish; | ||
|
||
|
||
public String getCommitId() { | ||
return commitId; | ||
} | ||
|
||
public void setCommitId(String commitId) { | ||
this.commitId = commitId; | ||
} | ||
|
||
public List<String> getFilePaths() { | ||
return filePaths; | ||
} | ||
|
||
public void setFilePaths(List<String> filePaths) { | ||
this.filePaths = filePaths; | ||
} | ||
|
||
public String getUsername() { | ||
return username; | ||
} | ||
|
||
public void setUsername(String username) { | ||
this.username = username; | ||
} | ||
|
||
public Boolean getPublish() { | ||
return publish; | ||
} | ||
|
||
public void setPublish(Boolean publish) { | ||
this.publish = publish; | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...a/com.webank.wedatasphere.dss.git.common/protocol/request/GitDiffFileContentResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package com.webank.wedatasphere.dss.git.common.protocol.request; | ||
|
||
import com.webank.wedatasphere.dss.git.common.protocol.response.GitFileContentResponse; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
public class GitDiffFileContentResponse { | ||
|
||
|
||
private List<GitFileContentResponse> gitFileContentResponseList; | ||
|
||
|
||
public GitDiffFileContentResponse(List<GitFileContentResponse> gitFileContentResponseList) { | ||
this.gitFileContentResponseList = gitFileContentResponseList; | ||
} | ||
|
||
public List<GitFileContentResponse> getGitFileContentResponseList() { | ||
return gitFileContentResponseList; | ||
} | ||
|
||
public void setGitFileContentResponseList(List<GitFileContentResponse> gitFileContentResponseList) { | ||
this.gitFileContentResponseList = gitFileContentResponseList; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.