Package org.guvnor.ala.source.git.config
Interface GitConfig
-
- All Superinterfaces:
org.guvnor.ala.config.Config,org.guvnor.ala.config.SourceConfig
- All Known Implementing Classes:
GitConfigImpl
public interface GitConfig extends org.guvnor.ala.config.SourceConfigInterface that represent the specific of the Git Configuration data.
-
-
Field Summary
Fields Modifier and Type Field Description static StringBRANCHStandard attribute name for setting the branch to use.static StringCREATE_REPOStandard attribute name for setting the create repository option.static StringORIGINStandard attribute name for setting the origin address.static StringOUT_DIRStandard attribute name for setting the output path for storing the repository.static StringREPO_NAMEStandard attribute name for setting the repository name.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default StringgetBranch()Get the Branch Name of the repository that will be useddefault StringgetCreateRepo()Get String to find out if we need to create the repo or not.default StringgetOrigin()Get the Origin addressdefault StringgetOutPath()Get the OutPath where the repo is going to be storeddefault StringgetRepoName()Get the Repository Name
-
-
-
Field Detail
-
REPO_NAME
static final String REPO_NAME
Standard attribute name for setting the repository name. Pipeline inputs that wants to set the repository name should use this parameter name.- See Also:
- Constant Field Values
-
CREATE_REPO
static final String CREATE_REPO
Standard attribute name for setting the create repository option. Pipeline inputs that wants to set the create repository option should use this parameter name.- See Also:
- Constant Field Values
-
ORIGIN
static final String ORIGIN
Standard attribute name for setting the origin address. Pipeline inputs that wants to configure the origin address should use this parameter name.- See Also:
- Constant Field Values
-
BRANCH
static final String BRANCH
Standard attribute name for setting the branch to use. Pipeline inputs that wants to configure the branch to use should use this parameter name.- See Also:
- Constant Field Values
-
OUT_DIR
static final String OUT_DIR
Standard attribute name for setting the output path for storing the repository. Pipeline inputs that wants to configure the output path should use this parameter name.- See Also:
- Constant Field Values
-
-
Method Detail
-
getRepoName
default String getRepoName()
Get the Repository Name- Returns:
- a String with the repository name if provided, if not it will default to resolve the expression ${input.repo-name} from the Pipeline Input map.
-
getCreateRepo
default String getCreateRepo()
Get String to find out if we need to create the repo or not.- Returns:
- String true/false. If no set it will default to resolve the expression ${input.create-repo} from the Pipeline Input map.
-
getOrigin
default String getOrigin()
Get the Origin address- Returns:
- String with the Origin name if provided, if not it will default to resolve the expression ${input.origin} from the Pipeline Input map.
-
getBranch
default String getBranch()
Get the Branch Name of the repository that will be used- Returns:
- String with the Branch name if provided, if not it will default to resolve the expression ${input.branch} from the Pipeline Input map.
-
getOutPath
default String getOutPath()
Get the OutPath where the repo is going to be stored- Returns:
- String with the OutPath if provided, if not it will default to resolve the expression ${input.out-dir} from the Pipeline Input map
-
-