Package org.bgerp.plugin.git
Class Config
java.lang.Object
org.bgerp.app.cfg.Config
org.bgerp.plugin.git.Config
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bgerp.app.cfg.Config
Config.InitStopException
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthor
(ConnectionSet conSet, Process p) GIT commit author.branch
(ConnectionSet conSet, int processId) Branch name from process parameter.void
paramChanged
(ParamChangedEvent e, ConnectionSet conSet) Generates branch name parameter value.prefix
(int processId) Prefix for commit and branch.void
processChanging
(ProcessChangingEvent e, ConnectionSet conSet) Checks allowance of status change when branch name is filled.Methods inherited from class org.bgerp.app.cfg.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:
SQLException
BGMessageException
- when status change isn't allowed.
-
mainBranch
- Returns:
- main branch name.
-
prefix
Prefix for commit and branch.- Parameters:
processId
-- Returns:
-
branch
Branch name from process parameter.- Parameters:
conSet
-processId
-- Returns:
- Throws:
SQLException
-
author
GIT commit author.- Parameters:
conSet
-p
-- Returns:
- Throws:
Exception
-
getCreateBranchSuffix
- Returns:
- command after a branch's creation.
-