A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

B

branches(String) - Method in GitHub
Get a list of branches for a project.
branches(String) - Method in JervisRemote
Query a remote project for a list of branches.

C

D

decodeBase64Bytes(String) - Method in securityIO
Decode a base64 String into Bytes.
decodeBase64String(String) - Method in securityIO
Decode a base64 String.
DecryptException - Class in net.gleske.jervis.exceptions
A type of SecurityException which is thrown when a decryption issue occurs.
DecryptException(String) - Constructor in DecryptException
Throw an exception relaying why decrypting a string failed.
decryptSecrets() - Method in lifecycleGenerator
Decrypts encrypted values stored in cipherlist.

E

encodeBase64(byte[]) - Method in securityIO
Encode raw Bytes into a base64 String.
EncryptException - Class in net.gleske.jervis.exceptions
A type of SecurityException which is thrown when an encryption issue occurs.
EncryptException(String) - Constructor in EncryptException
Throw an exception relaying why encrypting a string failed.

F

fetch(String) - Method in GitHub
Fetches a URL from GitHub API.

G

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.
getBuildableMatrixAxes() - Method in pipelineGenerator
Returns a list of maps which are buildable matrices in a matrix build.
getCloneUrl() - Method in GitHub
Get the contents of gh_clone.
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.
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.
getId_rsa_keysize() - Method in securityIO
Gets the id_rsa_keysize from the decoded private key.
getJenkinsfile() - Method in lifecycleGenerator
Get the Jenkinsfile for a pipeline.
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
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.
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.
getWebUrl() - Method in GitHub
Get the contents of gh_web.
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 API for only the parts I need.

H

I

id_rsa_keysize - Field in securityIO
Shortcut to getting the key size of key_pair.
isFriendlyLabel(String) - Method in toolchainValidator
Can a toolchain be used with a friendly label when Jenkins matrix axes are used?
isGenerateBranch(String) - Method in lifecycleGenerator
Is this a branch which will generate a job?
isInstanceFromList(Object, List<Class>) - Method in lifecycleGenerator
Check if an object is an instance of any of the classes in a list.
isMatrixBuild() - Method in lifecycleGenerator
This will check if the loaded YAML is a matrix build.
isPipelineJob() - Method in lifecycleGenerator
Determine if this instance is compatible with pipeline multibranch jobs.
isRestricted(String) - Method in lifecycleGenerator
Given a project combination of org/project determine if a project is allowed to be generated for a platform combination.
isSecureField(def) - Method in securityIO
Checks to see if a field in the Jervis YAML is a secure field.
isSupportedPlatform() - Method in lifecycleGenerator
Checks if a job that is using a platform and toolchain which is supported in the loaded platforms file.
isUser(String) - Method in GitHub
Check with the GitHub API and determine if the passed in user is a User or an Organization.

J

JervisException - Class in net.gleske.jervis.exceptions
The base exception class for Jervis from which all other exceptions derive.
JervisException(String) - Constructor in JervisException
Throw a JervisException.
JervisRemote - Interface in net.gleske.jervis.remotes
Provides a minimum standard interface a Jervis remote requires.

K

key_pair - Field in securityIO
A decoded RSA key pair used for encryption and decryption.
KeyGenerationException - Class in net.gleske.jervis.exceptions
A type of SecurityException which is thrown when an issue with generating key pairs occurs.
KeyGenerationException(String) - Constructor in KeyGenerationException
Throw an exception relaying why RSA key generation failed.
KeyPairDecodeException - Class in net.gleske.jervis.exceptions
A type of SecurityException which is thrown when an issue with generating key pairs occurs.
KeyPairDecodeException(String) - Constructor in KeyPairDecodeException
Throw an exception relaying why decoding a string possibly containing a PEM encoded X.509 private key failed.

L

LifecycleBadValueInKeyException - Class in net.gleske.jervis.exceptions
A type of LifecycleValidationException which is thrown when there is a bad value in a lifecycles file key.
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
A type of LifecycleValidationException which is thrown when a lifecycles file keys reference in an infinite loop.
LifecycleInfiniteLoopException(String) - Constructor in LifecycleInfiniteLoopException
Throw an exception when lifecycle keys reference in an infinite loop.
LifecycleMissingKeyException - Class in net.gleske.jervis.exceptions
A type of LifecycleValidationException which is thrown when a lifecycles file key is referenced but missing.
LifecycleMissingKeyException(String) - Constructor in LifecycleMissingKeyException
Throw an exception when lifecycles file key is referenced but missing.
lifecycles_spec - Field in wikiPages
A static reference to the lifecycles file spec wiki page.
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.

M

matrixExcludeFilter() - Method in lifecycleGenerator
This function generates a Jenkins groovy expression from Jervis YAML which will be used to exclude matrix build combinations.
matrixGetAxisValue(String) - Method in lifecycleGenerator
Get a value for a given axis for matrix building.

N

O

P

pipeline_support - Field in wikiPages
A static reference to the pipeline support wiki page.
pipelineGenerator - Class in net.gleske.jervis.lang
This class offers helper forunctions for using Jervis in the context of a Jenkins pipeline global shared library.
pipelineGenerator(lifecycleGenerator) - Constructor in pipelineGenerator
Instantiates this class with a lifecycleGenerator which is used for helper functions when creating a pipeline job designed to support Jervis.
PipelineGeneratorException - Class in net.gleske.jervis.exceptions
A group of exceptions that are thrown when validation errors occur in the lifecycles file.
PipelineGeneratorException(String) - Constructor in PipelineGeneratorException
Throw a PipelineGeneratorException.
PlatformBadValueInKeyException - Class in net.gleske.jervis.exceptions
A type of PlatformValidationException which is thrown when there is a bad value in a platforms file key.
PlatformBadValueInKeyException(String) - Constructor in PlatformBadValueInKeyException
Throw an exception for a bad value in a key.
PlatformMissingKeyException - Class in net.gleske.jervis.exceptions
A type of PlatformValidationException which is thrown when a platforms file key is referenced but missing.
PlatformMissingKeyException(String) - Constructor in PlatformMissingKeyException
Throw an exception when platforms file key is referenced but missing.
platforms_spec - Field in wikiPages
A static reference to the platforms file spec wiki page.
PlatformValidationException - Class in net.gleske.jervis.exceptions
A group of exceptions that are thrown when validation errors occur in the platforms file.
PlatformValidationException(String) - Constructor in PlatformValidationException
Throw a PlatformValidationException
platformValidator - Class in net.gleske.jervis.lang
Validates the contents of a platforms file and provides quick access to supported platforms.
preloadYamlString(String) - Method in lifecycleGenerator
Preload Jervis YAML for the purpose of loading lifecycles files for other platforms and operating systems.

Q

R

rsaDecrypt(String) - Method in securityIO
Uses RSA asymetric encryption to decrypt a cipher text String and outputs plain text.
rsaEncrypt(String) - Method in securityIO
Uses RSA asymetric encryption to encrypt a plain text String and outputs cipher text.

S

secure_secrets - Field in wikiPages
A static reference to the secure secrets in repositories wiki page.
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.
setCollect_settings_defaults(Map) - Method in pipelineGenerator
This method merges Map m with the existing map collect_settings_defaults.
setFolder_listing(List) - Method in lifecycleGenerator
This function sets the folder_listing and based on the listing conditionally sets lifecycle_key.
setGh_api(String) - Method in GitHub
Sets the gh_api property.
setGh_clone(String) - Method in GitHub
Sets the gh_clone property.
setGh_token(String) - Method in GitHub
Sets the gh_token property.
setGh_web(String) - Method in GitHub
Sets the gh_web and gh_api properties.
setId_rsa_keysize(int) - Method in securityIO
A noop which does nothing.
setKey_pair(String) - Method in securityIO
Sets key_pair by decoding the String.
setLabel_stability(String) - Method in lifecycleGenerator
This function sets the label_stability property.
setLabel_sudo(String) - Method in lifecycleGenerator
This function sets the label_sudo property.
setPrivateKey(String) - Method in lifecycleGenerator
Load an RSA private key in-memory rather than depending on a file existing on disk.
supported_languages - Field in wikiPages
A static reference to the supported languages wiki page.
supported_tools - Field in wikiPages
A static reference to the supported tools wiki page.
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.

T

ToolchainBadValueInKeyException - Class in net.gleske.jervis.exceptions
A type of ToolchainValidationException which is thrown when there is a bad value in a toolchains file key.
ToolchainBadValueInKeyException(String) - Constructor in ToolchainBadValueInKeyException
Throw an exception for a bad value in a key.
ToolchainMissingKeyException - Class in net.gleske.jervis.exceptions
A type of ToolchainValidationException which is thrown when a toolchains file key is referenced but missing.
ToolchainMissingKeyException(String) - Constructor in ToolchainMissingKeyException
Throw an exception when toolchains file key is referenced but missing.
toolchains_spec - Field in wikiPages
A static reference to the toolchains file spec wiki page.
toolchainType(String) - Method in toolchainValidator
Checks to see what type a toolchain is.
ToolchainValidationException - Class in net.gleske.jervis.exceptions
A group of exceptions that are thrown when validation errors occur in the toolchains file.
ToolchainValidationException(String) - Constructor in ToolchainValidationException
Throw a ToolchainValidationException
toolchainValidator - Class in net.gleske.jervis.lang
Validates the contents of a toolchains file and provides quick access to supported matrices.
toString() - Method in GitHub
Get a human readable string for this type of remote.
toString() - Method in JervisRemote
This method is used by Jervis to output friendly messages including the remote.

U

UnsupportedLanguageException - Class in net.gleske.jervis.exceptions
A type of GeneratorException which is thrown when an unsupported language lifecycle generation is attempted.
UnsupportedLanguageException(String) - Constructor in UnsupportedLanguageException
Throw an exception when an unsupported language lifecycle generation is attempted.
UnsupportedToolException - Class in net.gleske.jervis.exceptions
A type of GeneratorException which is thrown when an unsupported language lifecycle generation is attempted.
UnsupportedToolException(String) - Constructor in UnsupportedToolException
Throw an exception when an unsupported tool generation is attempted.

V

validate_asBool() - Method in lifecycleValidator
Executes the validate() function but always returns a Boolean instead of throwing an exception upon failed validation.
validate_asBool() - Method in platformValidator
Executes the validate() function but always returns a Boolean instead of throwing an exception upon failed validation.
validate_asBool() - Method in toolchainValidator
Executes the validate() function but always returns a Boolean instead of throwing an exception upon failed validation.
validate() - Method in lifecycleValidator
Validates the lifecycles file.
validate() - Method in platformValidator
Validates the platforms file.
validate() - Method in toolchainValidator
Validates the toolchains file.

W

wikiPages - Class in net.gleske.jervis.exceptions
A simple class, whose only purpose is to house static strings referencing the Jervis wiki, to be used as helpful hints when throwing exceptions.

X

Y

Z

_

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _