- generateAll() - Method in lifecycleGenerator
-
Generate the build script which would be used in the Jenkins step.
- generateSection(String) - Method in lifecycleGenerator
-
A generic function to generate code for different sections of the build script.
- generateToolchainSection() - Method in lifecycleGenerator
-
Generate the toolchains shell script based on the Jervis YAML or taking defaults
from the toolchains file.
- GeneratorException - Class in net.gleske.jervis.exceptions
A group of exceptions that are thrown when undesireable script generation conditions occur.
- GeneratorException(String) - Constructor in GeneratorException
-
Throw a GeneratorException.
- getBranchRegexString() - Method in lifecycleGenerator
-
Get the regular expression which is used for branch filtering.
- getBuildableMatrixAxes() - Method in pipelineGenerator
-
Returns a list of maps which are buildable matrices in a matrix build.
- getCloneUrl() - Method in GitHub
-
- getCloneUrl() - Method in JervisRemote
-
Repositories will be cloned from this base Git URI.
- getFile(String, String, String) - Method in GitHub
-
Get the contents of a file from a project.
- getFile(String, String, String) - Method in JervisRemote
-
Get the contents of a file in a remote git project for a given reference.
- getFilteredBranchesList() - Method in lifecycleGenerator
-
Get a list of static branch names which is used for branch filtering.
- getFolderListing(String, String, String) - Method in GitHub
-
Get the directory listing of a path from a project.
- getFolderListing(String, String, String) - Method in JervisRemote
-
Get list a file path in a project for the given reference.
- getFullBranchRegexString(List) - Method in lifecycleGenerator
-
Get the regular expression for all whitelisted branches.
- getGh_token() - Method in GitHub
-
Retrieves the token used to authenticate with GitHub.
- getGqlData(String, String) - Method in GitHubGraphQL
-
Transforms a GraphQL query and variables into data which can be submitted
with a POST request.
- getId_rsa_keysize() - Method in securityIO
-
- getJenkinsfile() - Method in lifecycleGenerator
-
Get the Jenkinsfile for a pipeline.
- getJervisYamlFiles(String, List, List) - Method in GitHubGraphQL
-
Get Jervis YAML from a remote repository.
- getLabels() - Method in lifecycleGenerator
-
Returns a groovy expression which Jenkins would use to pin a job to specific
nodes.
- getMatrix_fullName_by_friendly() - Method in lifecycleGenerator
-
- getNextRelease(String, List<String>, String, String) - Method in AutoRelease
-
Gets a bumped version with a more loosely formed format.
- getNextSemanticRelease(String, List<String>, String) - Method in AutoRelease
-
- getObjectValue(Map, String, Object) - Method in lifecycleGenerator
-
Get an object from a Map or return any object from
defaultValue.
- getPublishable(String) - Method in pipelineGenerator
-
Get a publishable item from the list of publishable items.
- getPublishableItems() - Method in pipelineGenerator
-
Get a list of publishable items which show up in .jervis.yml.
- getScriptFromTemplate(String, Map) - Method in AutoRelease
-
This method is for applying variables to a groovy template.
- getSecretPairsEnv() - Method in pipelineGenerator
-
Processes secret properties from .jervis.yml into two lists.
- getStashMap(Map) - Method in pipelineGenerator
-
Returns a list of stashes from Jervis YAML to be stashed either serially or
in this matrix axis for matrix builds.
- getToken() - Method in GitHubGraphQL
-
Retrieves the token used to authenticate with GitHub.
- getToken() - Method in ReadonlyTokenCredential
-
When implemented, this method should return a String that is a token to
be used in API service authentication in Jervis remotes.
- getToken() - Method in TokenCredential
-
When implemented, this method should return a String that is a token to
be used in API service authentication in Jervis remotes.
- getWebUrl() - Method in GitHub
-
- getWebUrl() - Method in JervisRemote
-
A web interface to browse repository code.
- GitHub - Class in net.gleske.jervis.remotes
A simple class to interact with the GitHub v3 API for only the parts I need.
- GitHubGraphQL - Class in net.gleske.jervis.remotes
A simple class to interact with the GitHub v4 GraphQL API.
- LifecycleBadValueInKeyException - Class in net.gleske.jervis.exceptions
- LifecycleBadValueInKeyException(String) - Constructor in LifecycleBadValueInKeyException
-
Throw an exception for a bad value in a key.
- lifecycleGenerator - Class in net.gleske.jervis.lang
Generates the build scripts from the Jervis YAML.
- LifecycleInfiniteLoopException - Class in net.gleske.jervis.exceptions
- LifecycleInfiniteLoopException(String) - Constructor in LifecycleInfiniteLoopException
-
Throw an exception when lifecycle keys reference in an infinite loop.
- LifecycleMissingKeyException - Class in net.gleske.jervis.exceptions
- LifecycleMissingKeyException(String) - Constructor in LifecycleMissingKeyException
-
Throw an exception when lifecycles file key is referenced but missing.
- LIFECYCLES_SPEC - Field in WikiPages
-
- LifecycleValidationException - Class in net.gleske.jervis.exceptions
A group of exceptions that are thrown when validation errors occur in the
lifecycles file.
- LifecycleValidationException(String) - Constructor in LifecycleValidationException
-
Throw a LifecycleValidationException.
- lifecycleValidator - Class in net.gleske.jervis.lang
Validates the contents of a
lifecycle file
and provides quick access to supported languages.
- load_JSON(String) - Method in lifecycleValidator
-
Load the JSON of a lifecycles file and parse it.
- load_JSON(String) - Method in platformValidator
-
Load the JSON of a platforms file and parse it.
- load_JSON(String) - Method in toolchainValidator
-
Load the JSON of a toolchains file and parse it.
- load_JSONString(String) - Method in lifecycleValidator
-
Parse the JSON which is the contents of a lifecycles file.
- load_JSONString(String) - Method in platformValidator
-
Parse the JSON which is the contents of a platforms file.
- load_JSONString(String) - Method in toolchainValidator
-
Parse the JSON which is the contents of a toolchains file.
- loadLifecycles(String) - Method in lifecycleGenerator
-
Load a lifecycles file so that default scripts can be generated.
- loadLifecyclesString(String) - Method in lifecycleGenerator
-
Load a lifecycles JSON String so that default scripts can be generated.
- loadPlatforms(String) - Method in lifecycleGenerator
-
Load a platforms file so that advanced labels can be generated for multiple
platforms.
- loadPlatformsString(String) - Method in lifecycleGenerator
-
Load a platforms JSON String so that advanced labels can be generated
for multiple platforms.
- loadToolchains(String) - Method in lifecycleGenerator
-
Load a toolchains file so that default scripts can be generated.
- loadToolchainsString(String) - Method in lifecycleGenerator
-
Load a toolchains JSON String so that default scripts can be generated.
- loadYamlString(String) - Method in lifecycleGenerator
-
Load Jervis YAML to be interpreted.
- SECURE_SECRETS - Field in WikiPages
-
- SecurityException - Class in net.gleske.jervis.exceptions
A group of exceptions that are thrown when security issues occur.
- SecurityException(String) - Constructor in SecurityException
-
Throw a SecurityException.
- securityIO - Class in net.gleske.jervis.tools
A class to provide cryptographic features to Jervis such as RSA encryption and base64 encoding.
- securityIO(String) - Constructor in securityIO
-
Instantiates the class and configures a private key for decryption.
- sendGQL(String, String, String, Map) - Method in GitHubGraphQL
-
A method for calling the GitHub v4 GraphQL API with a GraphQL query and
variables.
- setCollect_settings_defaults(Map) - Method in pipelineGenerator
-
- setCredential(TokenCredential) - Method in GitHub
-
- setFolder_listing(List) - Method in lifecycleGenerator
-
- setGh_api(String) - Method in GitHub
-
- setGh_clone(String) - Method in GitHub
-
- setGh_token(String) - Method in GitHub
-
Sets the token to be used by GitHub.
- setGh_web(String) - Method in GitHub
-
- setId_rsa_keysize(int) - Method in securityIO
-
A noop which does nothing.
- setKey_pair(String) - Method in securityIO
-
- setLabel_stability(String) - Method in lifecycleGenerator
-
- setLabel_sudo(String) - Method in lifecycleGenerator
-
- setPrivateKey(String) - Method in lifecycleGenerator
-
Load an RSA private key in-memory rather than depending on a file
existing on disk.
- setStashmap_preprocessor(Map) - Method in pipelineGenerator
-
- setToken(String) - Method in GitHubGraphQL
-
Sets the token to be used by GitHub.
- setToken(String) - Method in ReadonlyTokenCredential
-
Implemented to do nothing.
- setToken(String) - Method in TokenCredential
-
When implemented, this method should set the value of the token in a
credential service.
- SimpleRestService - Class in net.gleske.jervis.remotes
A simple class which makes using REST services like the GitHub API really
easy.
- SimpleRestServiceSupport - Trait in net.gleske.jervis.remotes
REST service classes can derive some default implementation from this trait.
- SUPPORTED_LANGUAGES - Field in WikiPages
-
- SUPPORTED_TOOLS - Field in WikiPages
-
- supportedLanguage(String) - Method in lifecycleValidator
-
Checks to see if a language is a supported language based on the lifecycles file.
- supportedLanguage(String) - Method in toolchainValidator
-
Checks to see if a language is a supported language based on the toolchains file.
- supportedMatrix(String, String) - Method in toolchainValidator
-
Checks to see if a toolchain is a supported build matrix based on a specific language.
- supportedTool(String, String) - Method in toolchainValidator
-
Check to see if a given tool is supported in the toolchain.
- supportedToolchain(String) - Method in toolchainValidator
-
Checks to see if a value is a supported toolchain based on the toolchains file.