public class CmsGitConfiguration extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getConfigurationFile()
Returns the wrapped configuration file.
|
java.util.Collection<java.lang.String> |
getConfiguredModules()
Returns the modules specified in the config file.
|
boolean |
getDefaultAutoCommit()
Returns a flag, indicating if automatic commit is enabled by default.
|
boolean |
getDefaultAutoPullAfter()
Returns a flag, indicating if automatic pulling after the commit is enabled by default.
|
boolean |
getDefaultAutoPullBefore()
Returns a flag, indicating if automatic pulling first is enabled by default.
|
boolean |
getDefaultAutoPush()
Returns a flag, indicating if automatic pushing is enabled by default.
|
java.lang.String |
getDefaultCommitMessage()
Returns the default commit message.
|
boolean |
getDefaultCopyAndUnzip()
Returns the default copy-and-unzip flag.
|
boolean |
getDefaultExcludeLibs()
Returns the default exclude libs flag.
|
java.lang.String |
getDefaultGitUserEmail()
Returns the configured default git user email, or
null if the email is by default not adjusted at all. |
java.lang.String |
getDefaultGitUserName()
Returns the configured default git user name, or
null if the name is by default not adjusted at all. |
boolean |
getDefaultIngoreUnclean()
Returns the default ignore-unclean flag.
|
int |
getExportMode()
Returns the export mode.
|
java.lang.String |
getFilePath()
Returns the path to the config file that is wrapped.
|
java.lang.String |
getModuleExportPath()
Returns the RFS path where module .zip-files are read before check in.
|
java.lang.String |
getModulesPath()
Returns the path to where modules are stored in the repository.
|
java.lang.String |
getName()
Returns the name of the configuration.
|
java.lang.String |
getRepositoryPath()
Returns the path to the home directory of the repository where the modules are checked in.
|
java.lang.String |
getResourcesSubFolder()
Returns the subfolder where module resources are placed inside the modules main folder in the repository.
|
boolean |
isValid()
Returns a flag, indicating if the config file could be read.
|
public java.io.File getConfigurationFile()
public java.util.Collection<java.lang.String> getConfiguredModules()
public boolean getDefaultAutoCommit()
public boolean getDefaultAutoPullAfter()
public boolean getDefaultAutoPullBefore()
public boolean getDefaultAutoPush()
public java.lang.String getDefaultCommitMessage()
public boolean getDefaultCopyAndUnzip()
public boolean getDefaultExcludeLibs()
public java.lang.String getDefaultGitUserEmail()
null if the email is by default not adjusted at all.null if the email is by default not adjusted at all.public java.lang.String getDefaultGitUserName()
null if the name is by default not adjusted at all.null if the name is by default not adjusted at all.public boolean getDefaultIngoreUnclean()
public int getExportMode()
public java.lang.String getFilePath()
public java.lang.String getModuleExportPath()
public java.lang.String getModulesPath()
public java.lang.String getName()
public java.lang.String getRepositoryPath()
public java.lang.String getResourcesSubFolder()
public boolean isValid()