@Override
public String getIdentifier() {
String versionString = "";
try {
DomainStore dstore = getDomainStore();
versionString = ((mode == TapMode.SINK) ? "LATEST" : "" + dstore.mostRecentVersion());
} catch (IOException e) {
throw new RuntimeException(e);
}
return domainDir + Path.SEPARATOR
+ ((mode == TapMode.SINK) ? "sink" : "source")