public class DocAsCodeRepository extends APIEventListener
| Constructor and Description |
|---|
DocAsCodeRepository(org.eclipse.jgit.lib.Repository repo)
A DocAsCodeRepository constructor
|
| Modifier and Type | Method and Description |
|---|---|
ChronoRepository |
chrono()
A Chrono Repository Controller for this DocAsCode repository.
|
File |
getChronoXML()
The chrono.xml file.
|
File |
getDeliveryProperties()
The delivery.properties file for this repository.
|
File |
getDeliveryXML() |
File |
getDocAsCodeDir()
The .docascode directory.
|
File |
getTmpDir()
The temporary working directory for this DocAsCode repository.
|
String |
getVersion()
The version of this DocAsCode repository.
|
File |
getWorkTree()
The workTree of the current DocAsCode/Git Repository.
|
GitRepository |
git()
A Git Repository Controller for this DocAsCode repository.
|
MvnRepository |
mvn()
A Maven Repository Controller for this DocAsCode repository.
|
String |
relativize(File file)
Resolve file path relatively to the worktree of this DocAsCode repository.
|
addListener, fireEvent, log, progress, removeListenerpublic DocAsCodeRepository(org.eclipse.jgit.lib.Repository repo)
throws IOException
repo - The base Git Repository.IOExceptionpublic File getWorkTree()
public MvnRepository mvn()
public ChronoRepository chrono()
public File getDeliveryProperties()
public File getDocAsCodeDir()
public File getChronoXML()
public File getDeliveryXML()
public String relativize(File file)
file - the file to resolve.public File getTmpDir()
public String getVersion() throws DocAsCodeException
DocAsCodeExceptionpublic GitRepository git()
Copyright © 2019. All rights reserved.