public abstract class Repository extends RepositoryInfo
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
cmd
The command with which to access the external repository.
|
datePattern, directoryName, remote, type, working| Constructor and Description |
|---|
Repository() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
ensureCommand(java.lang.String propertyKey,
java.lang.String fallbackCommand)
Set the name of the external client command that should be used to
access the repository wrt.
|
java.text.DateFormat |
getDateFormat() |
getDatePattern, getDirectoryName, getType, isRemote, isWorking, setDatePattern, setDirectoryName, setRemote, setType, setWorkingprotected java.lang.String cmd
null if the repository isn't accessed via a CLI, or if it
hasn't been initialized by ensureCommand(java.lang.String, java.lang.String) yet.public java.text.DateFormat getDateFormat()
protected java.lang.String ensureCommand(java.lang.String propertyKey,
java.lang.String fallbackCommand)
null value).propertyKey - property key to lookup the corresponding system property.fallbackCommand - the command to use, if lookup fails.cmd