public class GitCatalogDao extends AbstractCatalogReader implements CatalogDao
attributes, catalogData| Constructor and Description |
|---|
GitCatalogDao() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBranch() |
String |
getCatalogPath() |
org.eclipse.jgit.transport.CredentialsProvider |
getCredentialsProvider() |
LocalDateTime |
getLastUpdated()
Returns the last update time of the catalog.
|
String |
getLocalRepoPath() |
String |
getRemoteRepoUri() |
org.eclipse.jgit.api.TransportConfigCallback |
getTransportConfigCallback() |
CatalogData |
read()
Returns the Catalog object.
|
String |
readCatalog()
Returns a String representation of the Catalog.
|
void |
setBranch(String branch) |
void |
setCatalogPath(String catalogPath) |
void |
setCredentialsProvider(org.eclipse.jgit.transport.CredentialsProvider credentialsProvider) |
void |
setLocalRepoPath(String localRepoPath) |
void |
setRemoteRepoUri(String remoteRepoUri) |
void |
setTransportConfigCallback(org.eclipse.jgit.api.TransportConfigCallback transportConfigCallback) |
void |
write(CatalogData data) |
getAttribute, getAttributes, getCategory, getEvent, getProductclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttribute, getAttributes, getCategory, getEvent, getProductpublic org.eclipse.jgit.transport.CredentialsProvider getCredentialsProvider()
public void setCredentialsProvider(org.eclipse.jgit.transport.CredentialsProvider credentialsProvider)
public org.eclipse.jgit.api.TransportConfigCallback getTransportConfigCallback()
public void setTransportConfigCallback(org.eclipse.jgit.api.TransportConfigCallback transportConfigCallback)
public String getRemoteRepoUri()
public void setRemoteRepoUri(String remoteRepoUri)
public String getLocalRepoPath()
public void setLocalRepoPath(String localRepoPath)
public String getCatalogPath()
public void setCatalogPath(String catalogPath)
public String getBranch()
public void setBranch(String branch)
public LocalDateTime getLastUpdated()
CatalogReadergetLastUpdated in interface CatalogReaderpublic CatalogData read()
CatalogReaderread in interface CatalogReaderread in class AbstractCatalogReaderpublic void write(CatalogData data)
write in interface CatalogWriterpublic String readCatalog()
CatalogReaderreadCatalog in interface CatalogReaderreadCatalog in class AbstractCatalogReaderCopyright © 2016-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Apache Log4j Audit, Log4j, Log4j Audit, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.