Index

B C E G H L M R S T 
All Classes and Interfaces|All Packages

B

BuildHistoryManager - Class in com.group8
Manages the persistence and retrieval of build history
BuildHistoryManager() - Constructor for class com.group8.BuildHistoryManager
 
BuildHistoryManager(String) - Constructor for class com.group8.BuildHistoryManager
 
BuildRecord - Record Class in com.group8
build record representing the result of a single CI build
BuildRecord(String, String, long, String) - Constructor for record class com.group8.BuildRecord
Creates an instance of a BuildRecord record class.

C

CIrunner - Class in com.group8
Core CI pipeline runner.
CIrunner() - Constructor for class com.group8.CIrunner
 
com.group8 - package com.group8
Core CI server implementation for DD2480 Assignment 2.
commit() - Method in record class com.group8.BuildRecord
Returns the value of the commit record component.
ContinuousIntegrationServer - Class in com.group8
ContinuousIntegrationServer acts as a simple webhook endpoint.
ContinuousIntegrationServer() - Constructor for class com.group8.ContinuousIntegrationServer
 

E

equals(Object) - Method in record class com.group8.BuildRecord
Indicates whether some other object is "equal to" this one.

G

getBuildDetail(String) - Method in class com.group8.BuildHistoryManager
Returns detailed information for a specific build.
getBuildList() - Method in class com.group8.BuildHistoryManager
Returns an HTML list of all builds.
getCommitStatus(String) - Method in class com.group8.StatusToGithub
Retrieves commit status from GitHub for the given SHA.

H

handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class com.group8.ContinuousIntegrationServer
 
hashCode() - Method in record class com.group8.BuildRecord
Returns a hash code value for this object.
HttpClientWrapper - Interface in com.group8
Simple wrapper interface for HttpClient to enable testing.
HttpClientWrapperImpl - Class in com.group8
Production implementation using Java's HttpClient.
HttpClientWrapperImpl() - Constructor for class com.group8.HttpClientWrapperImpl
 

L

log() - Method in record class com.group8.BuildRecord
Returns the value of the log record component.

M

main(String[]) - Static method in class com.group8.ContinuousIntegrationServer
Starts the CI server on port 8080.
main(String[]) - Static method in class com.group8.Main
 
main(String[]) - Static method in class com.group8.StatusToGithub
 
Main - Class in com.group8
Simple entry point kept only to avoid IntelliJ warnings.
Main() - Constructor for class com.group8.Main
 

R

runner(List, File) - Static method in class com.group8.CIrunner
Executes the given command in the specified working directory.

S

saveBuild(BuildRecord) - Method in class com.group8.BuildHistoryManager
Saves a build record to a JSON file.
send(HttpRequest, HttpResponse.BodyHandler) - Method in interface com.group8.HttpClientWrapper
 
send(HttpRequest, HttpResponse.BodyHandler) - Method in class com.group8.HttpClientWrapperImpl
 
setCommitStatus(String, String) - Method in class com.group8.StatusToGithub
Sets the commit status for the given SHA.
status() - Method in record class com.group8.BuildRecord
Returns the value of the status record component.
StatusToGithub - Class in com.group8
Client for interacting with the GitHub Commit Status API (P3).
StatusToGithub(String, String) - Constructor for class com.group8.StatusToGithub
Creates a status client for the given repository using the default HttpClientWrapper implementation.

T

timestamp() - Method in record class com.group8.BuildRecord
Returns the value of the timestamp record component.
toJSONObject() - Method in record class com.group8.BuildRecord
Converts this build record into JSON for persistence
toString() - Method in record class com.group8.BuildRecord
Returns a string representation of this record class.
triggerCI(String, String, String) - Static method in class com.group8.CIrunner
Triggers the CI workflow for a single commit.
B C E G H L M R S T 
All Classes and Interfaces|All Packages