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() |
Map<File,Map<String,String>> |
getDictionnaries() |
File |
getDocAsCodeDir()
The .docascode directory.
|
File |
getProjectSettingsFile()
The Maven project settings file for this DocAsCode repository.
|
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.
|
String |
substitute(File file,
String string) |
addListener, fireEvent, log, progress
public DocAsCodeRepository(org.eclipse.jgit.lib.Repository repo) throws IOException
repo
- The base Git Repository.IOException
public File getWorkTree()
public String substitute(File file, String string) throws DocAsCodeException
DocAsCodeException
public MvnRepository mvn()
public ChronoRepository chrono()
public File getDeliveryProperties()
public File getDocAsCodeDir()
public File getChronoXML()
public File getDeliveryXML()
public File getProjectSettingsFile()
public String relativize(File file)
file
- the file to resolve.public File getTmpDir()
public String getVersion() throws DocAsCodeException
DocAsCodeException
public GitRepository git()
Copyright © 2019. All rights reserved.