mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
メソッド追加
This commit is contained in:
parent
93e7c10393
commit
895cf64a15
|
@ -3,7 +3,10 @@ package one.nem.lacerta.vcs;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.concurrent.CompletableFuture;
|
import java.util.concurrent.CompletableFuture;
|
||||||
|
|
||||||
|
import one.nem.lacerta.model.VcsLogModel;
|
||||||
import one.nem.lacerta.model.VcsRevModel;
|
import one.nem.lacerta.model.VcsRevModel;
|
||||||
|
import one.nem.lacerta.model.document.DocumentDetail;
|
||||||
|
import one.nem.lacerta.source.database.entity.VcsLogEntity;
|
||||||
|
|
||||||
public interface LacertaVcs {
|
public interface LacertaVcs {
|
||||||
|
|
||||||
|
@ -20,6 +23,10 @@ public interface LacertaVcs {
|
||||||
|
|
||||||
public CompletableFuture<ArrayList<VcsRevModel>> getRevisionHistory();
|
public CompletableFuture<ArrayList<VcsRevModel>> getRevisionHistory();
|
||||||
|
|
||||||
|
public CompletableFuture<ArrayList<VcsLogModel>> getLogHistory();
|
||||||
|
|
||||||
|
public CompletableFuture<ArrayList<DocumentDetail>> getDocumentDetailAtRev(String revId);
|
||||||
|
|
||||||
|
|
||||||
// debug
|
// debug
|
||||||
public void printLog();
|
public void printLog();
|
||||||
|
|
|
@ -10,7 +10,9 @@ import javax.inject.Inject;
|
||||||
|
|
||||||
import dagger.assisted.Assisted;
|
import dagger.assisted.Assisted;
|
||||||
import dagger.assisted.AssistedInject;
|
import dagger.assisted.AssistedInject;
|
||||||
|
import one.nem.lacerta.model.VcsLogModel;
|
||||||
import one.nem.lacerta.model.VcsRevModel;
|
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.LacertaDatabase;
|
||||||
import one.nem.lacerta.source.database.entity.VcsLogEntity;
|
import one.nem.lacerta.source.database.entity.VcsLogEntity;
|
||||||
import one.nem.lacerta.source.database.entity.VcsRevEntity;
|
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
|
@Override
|
||||||
public void printLog() {
|
public void printLog() {
|
||||||
logger.debug(TAG, "printLog");
|
logger.debug(TAG, "printLog");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user