Class Config
java.lang.Object
org.bgerp.app.cfg.Config
org.bgerp.plugin.git.Config
-
Nested Class Summary
Nested classes/interfaces inherited from class Config
Config.InitStopException -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthor(ConnectionSet conSet, Process p) GIT commit authorbranch(ConnectionSet conSet, int processId) Branch name from process parametervoidparamChanged(ParamChangedEvent e, ConnectionSet conSet) Generates branch name parameter valueprefix(int processId) Prefix for commit and branchvoidprocessChanging(ProcessChangingEvent e, ConnectionSet conSet) Checks allowance of status change when branch name is filledMethods inherited from class Config
initWhen, throwValidationException
-
Constructor Details
-
Config
- Throws:
Config.InitStopException
-
-
Method Details
-
paramChanged
Generates branch name parameter value- Parameters:
e-conSet-- Throws:
Exception
-
processChanging
public void processChanging(ProcessChangingEvent e, ConnectionSet conSet) throws SQLException, BGMessageException Checks allowance of status change when branch name is filled- Parameters:
e-conSet-- Throws:
SQLExceptionBGMessageException- when status change isn't allowed
-
mainBranch
- Returns:
- main branch name
-
prefix
Prefix for commit and branch- Parameters:
processId-- Returns:
- the prefix
-
branch
Branch name from process parameter- Parameters:
conSet-processId-- Returns:
- the branch name
- Throws:
SQLException
-
author
GIT commit author- Parameters:
conSet-p-- Returns:
- the commit author string, or
nullif not determined - Throws:
Exception
-
getCreateBranchSuffix
- Returns:
- command after a branch's creation
-