メソッド追加

This commit is contained in:
r-ca 2024-01-24 15:37:03 +09:00
parent 93e7c10393
commit 895cf64a15
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9
2 changed files with 19 additions and 0 deletions

View File

@ -3,7 +3,10 @@ package one.nem.lacerta.vcs;
import java.util.ArrayList;
import java.util.concurrent.CompletableFuture;
import one.nem.lacerta.model.VcsLogModel;
import one.nem.lacerta.model.VcsRevModel;
import one.nem.lacerta.model.document.DocumentDetail;
import one.nem.lacerta.source.database.entity.VcsLogEntity;
public interface LacertaVcs {
@ -20,6 +23,10 @@ public interface LacertaVcs {
public CompletableFuture<ArrayList<VcsRevModel>> getRevisionHistory();
public CompletableFuture<ArrayList<VcsLogModel>> getLogHistory();
public CompletableFuture<ArrayList<DocumentDetail>> getDocumentDetailAtRev(String revId);
// debug
public void printLog();

View File

@ -10,7 +10,9 @@ import javax.inject.Inject;
import dagger.assisted.Assisted;
import dagger.assisted.AssistedInject;
import one.nem.lacerta.model.VcsLogModel;
import one.nem.lacerta.model.VcsRevModel;
import one.nem.lacerta.model.document.DocumentDetail;
import one.nem.lacerta.source.database.LacertaDatabase;
import one.nem.lacerta.source.database.entity.VcsLogEntity;
import one.nem.lacerta.source.database.entity.VcsRevEntity;
@ -147,6 +149,16 @@ public class LacertaVcsImpl implements LacertaVcs {
});
}
@Override
public CompletableFuture<ArrayList<VcsLogModel>> getLogHistory() {
return null;
}
@Override
public CompletableFuture<ArrayList<DocumentDetail>> getDocumentDetailAtRev(String revId) {
return null;
}
@Override
public void printLog() {
logger.debug(TAG, "printLog");