Package ci
Class App
java.lang.Object
ci.App
A class for the App.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidexitSystem(boolean compileStatus, boolean testStatus) A function to stop the execution with a certain code.static voidThe main class of the app.
-
Constructor Details
-
App
public App()
-
-
Method Details
-
exitSystem
public static void exitSystem(boolean compileStatus, boolean testStatus) A function to stop the execution with a certain code. If the exit status is 1 the compilation failed and the tests couldn't build. If the exit status is 2 the tests failed. If the exit status is 0 everything is OK.- Parameters:
compileStatus- the status of the compilationtestStatus- the status of the test
-
main
public static void main(String[] args) throws IOException, org.eclipse.jgit.api.errors.GitAPIException The main class of the app.- Parameters:
args- arguments for the program- Throws:
IOException- if the input failsorg.eclipse.jgit.api.errors.GitAPIException
-