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, getProduct
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttribute, getAttributes, getCategory, getEvent, getProduct
public 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()
CatalogReader
getLastUpdated
in interface CatalogReader
public CatalogData read()
CatalogReader
read
in interface CatalogReader
read
in class AbstractCatalogReader
public void write(CatalogData data)
write
in interface CatalogWriter
public String readCatalog()
CatalogReader
readCatalog
in interface CatalogReader
readCatalog
in class AbstractCatalogReader
Copyright © 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.