Index
All Classes and Interfaces|All Packages
B
- Build - Class in CIserver.app
-
Placeholder class for information of a build
- Build() - Constructor for class CIserver.app.Build
-
Default constructor
- Build(String, String, String) - Constructor for class CIserver.app.Build
-
Parameterized constructor
- BuildController - Class in CIserver.rest
-
Controller class for serving web content
- BuildController() - Constructor for class CIserver.rest.BuildController
- builds(Model) - Method in class CIserver.rest.BuildController
-
Lists all builds
- BuildThread - Class in CIserver.app
-
BuildThread class that allows building of git repo to run after webhook receives response
- BuildThread(String) - Constructor for class CIserver.app.BuildThread
-
Creates a runnable object that parses the requestBody, downloads the repo from the parsed commit SHA.
C
- ChangeStatus(String, String, String, String) - Method in class CIserver.app.StatusUpdater
-
Method for updating the GitHub status of a specific commit
- CIController - Class in CIserver.rest
-
This class setups REST endpoints and handles different HTTP requests
- CIController() - Constructor for class CIserver.rest.CIController
- CIserver.app - package CIserver.app
- CIserver.rest - package CIserver.rest
- CiServerApplication - Class in CIserver.app
-
Spring Boot Application class that runs the CI-server
- CiServerApplication() - Constructor for class CIserver.app.CiServerApplication
- compile(String) - Method in class CIserver.app.MavenCompiler
-
This method compiles a Maven project
D
- download(String, String, String) - Method in class CIserver.app.GitHubRepositoryDownloader
-
This method downloads and extracts a GitHub repository
E
- error() - Method in class CIserver.rest.CIController
-
Method for handling error requests
G
- getCommit() - Method in class CIserver.app.Build
-
Gets the commit value
- getDate() - Method in class CIserver.app.Build
-
Gets the date value
- getEntry(String) - Method in class CIserver.app.SQLhandler
-
Method to retrieve build history for a specific commit ID from the database.
- getHistory() - Method in class CIserver.app.SQLhandler
-
Method to retrieve entire build history from the database.
- getLog() - Method in class CIserver.app.Build
-
Gets the build logs
- GitHubRepositoryDownloader - Class in CIserver.app
-
Class that handles downloading and extracting GitHub repositories
- GitHubRepositoryDownloader() - Constructor for class CIserver.app.GitHubRepositoryDownloader
-
Default constructor
I
- insertEntry(String, String, String) - Method in class CIserver.app.SQLhandler
-
Method to insert a new build history entry into the database
M
- main(String[]) - Static method in class CIserver.app.CiServerApplication
-
Main method that runs the web server
- MavenCompiler - Class in CIserver.app
-
Class that compiles Java projects with Maven and reports if the compilation and tests were successful.
- MavenCompiler() - Constructor for class CIserver.app.MavenCompiler
P
- postPost(String) - Method in class CIserver.rest.CIController
-
Method for handling GitHub webhooks to download and test code
R
- run() - Method in class CIserver.app.BuildThread
S
- setCommit(String) - Method in class CIserver.app.Build
-
Sets the commit value
- setDate(String) - Method in class CIserver.app.Build
-
Sets the date value
- setLog(String) - Method in class CIserver.app.Build
-
Sets the log value
- showCommitBuild(String, Model) - Method in class CIserver.rest.BuildController
-
Lists build information of specific build
- SQLhandler - Class in CIserver.app
-
This class handles all communication with the database for insertions, deletions and retrieval of builds
- SQLhandler() - Constructor for class CIserver.app.SQLhandler
-
Instantiate a SQLhandler that opens a connection to the file buildHistory.db.
- StatusUpdater - Class in CIserver.app
-
This class handles the commit status updates with GitHub's API
- StatusUpdater(String) - Constructor for class CIserver.app.StatusUpdater
-
Create an object
T
- testGet() - Method in class CIserver.rest.CIController
U
- updateCommitStatus(String, String, StatusUpdater) - Static method in class CIserver.app.BuildThread
All Classes and Interfaces|All Packages