mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
Implクラスコンストラクタ実装 WIP
This commit is contained in:
parent
b040e2572c
commit
f98614c5f2
|
@ -1,8 +1,32 @@
|
||||||
package one.nem.lacerta.vcs.impl;
|
package one.nem.lacerta.vcs.impl;
|
||||||
|
|
||||||
|
import javax.inject.Inject;
|
||||||
|
|
||||||
|
import dagger.assisted.Assisted;
|
||||||
|
import dagger.assisted.AssistedInject;
|
||||||
|
import one.nem.lacerta.source.database.LacertaDatabase;
|
||||||
|
import one.nem.lacerta.utils.LacertaLogger;
|
||||||
import one.nem.lacerta.vcs.LacertaVcs;
|
import one.nem.lacerta.vcs.LacertaVcs;
|
||||||
|
|
||||||
public class LacertaVcsImpl implements LacertaVcs {
|
public class LacertaVcsImpl implements LacertaVcs {
|
||||||
|
|
||||||
|
// TAG
|
||||||
|
private static final String TAG = LacertaVcsImpl.class.getSimpleName();
|
||||||
|
|
||||||
|
String documentId;
|
||||||
|
|
||||||
|
LacertaDatabase database;
|
||||||
|
|
||||||
|
LacertaLogger logger;
|
||||||
|
|
||||||
|
@AssistedInject
|
||||||
|
public LacertaVcsImpl(LacertaLogger logger, LacertaDatabase database, @Assisted String documentId) {
|
||||||
|
this.logger = logger;
|
||||||
|
this.database = database;
|
||||||
|
this.documentId = documentId;
|
||||||
|
logger.debug(TAG, "LacertaVcsImpl constructor");
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void updatePage(int index, String fileName) {
|
public void updatePage(int index, String fileName) {
|
||||||
|
|
||||||
|
@ -20,6 +44,6 @@ public class LacertaVcsImpl implements LacertaVcs {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void printLog() {
|
public void printLog() {
|
||||||
|
logger.debug(TAG, "printLog");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user