public interface BuildMap extends ManagedObject
Build maps are contained within a BuildGroup
. To create and delete build maps use the BuildGroup
helper methods to do so.
Modifier and Type | Interface and Description |
---|---|
static class |
BuildMap.BinaryInput |
static class |
BuildMap.Input |
static class |
BuildMap.Output |
static class |
BuildMap.Source |
AMPERSAND, AND, APPLICATION_JSON, ARTIFACT, ASC, ATTACHMENT, ATTACHMENTS, BASIC_AUTHENTICATION, BRANCH, BUILD, BUILD_REPORT, BUILD_REPORT_DATA, BUILD_RESULT, CATEGORY, CICS, COLLECTION, COMMA, CONTENT, CONTENT_TYPE, CREATED, CREATED_BY, DATASET, DATE, DEFAULT_SSL_PROTOCOLS, DEPLOY_TYPE, DESC, DLI, EQUALS, FILE, FORM_AUTHENTICATION, GROUP, GROUPS, ID, IMPACT_FILES, LABEL, LABELS, LANGUAGE, LAST_UPDATED, LAST_UPDATED_BY, LD_PREFIX, LIBRARY, LNAME, LOGICAL_DEPENDENCIES, LOGICAL_FILE, MEMBER, MINIMAL, MQ, NAME, ORDER, ORDER_BY, OWNER, PATH, PERMISSION, PROPERTIES, PROPERTY, QUESTION_MARK, QUOTE, REST, SELF, SIZE, SLASH, SOURCE, SPACE, SQL, STATE, STATUS, TEAM, TEXT_HTML, TYPE, VALUE, VERSION
Modifier and Type | Method and Description |
---|---|
void |
addBinaryInput(java.lang.String member,
java.lang.String dataset)
Add a binary input to the build map
|
void |
addBinaryInput(java.lang.String member,
java.lang.String dataset,
java.lang.String path,
java.lang.String sourceRef,
java.lang.String version)
Add a binary input to the build map
|
void |
addInput(java.lang.String lName,
java.lang.String category)
Add an input to the build map
|
void |
addInput(java.lang.String lName,
java.lang.String category,
java.lang.String path)
Add an input to the build map
|
void |
addInput(java.lang.String lName,
java.lang.String category,
java.lang.String path,
java.lang.String sourceRef,
java.lang.String version)
Add an input to the build map
|
void |
addOutput(java.lang.String member,
java.lang.String dataset,
java.lang.String deployType)
Adds an output to the build map
|
void |
addOutput(java.lang.String path,
java.lang.String deployType,
java.lang.String fingerprint,
java.lang.String version)
Adds an output to the build map
|
void |
addOutput(java.lang.String member,
java.lang.String dataset,
java.lang.String deployType,
java.lang.String fingerprint,
java.lang.String version)
Adds an output to the build map
|
void |
addSource(java.lang.String ref,
java.lang.String type,
java.lang.String url,
java.lang.String branch,
java.lang.String location,
java.lang.String snapshot)
Adds a source to the build map
|
java.util.List<BuildMap.BinaryInput> |
getBinaryInputs() |
java.lang.String |
getBuildFile() |
java.lang.String |
getDescription() |
java.lang.String |
getGroup() |
java.util.List<BuildMap.Input> |
getInputs() |
java.util.List<BuildMap.Output> |
getOutputs() |
java.lang.String |
getResult() |
BuildMap.Source |
getSource(java.lang.String sourceRef) |
java.util.List<BuildMap.Source> |
getSources() |
void |
populateBinaryInputs(java.lang.String loadDataset,
java.lang.String loadMember)
Populates the binary inputs list using the load module scanner without SCM metadata
|
void |
populateBinaryInputsFromGit(java.lang.String loadDataset,
java.lang.String loadMember)
Populates the binary inputs list using the load module scanner including SCM metadata from git.
|
void |
populateGitSources(java.util.List<java.io.File> directories)
Populates the sources list by providing a list of local Git clone directories to introspect
|
void |
populateInputs(java.lang.String sourceDir,
java.lang.String searchPath)
Populates the inputs list using dependency resolution without SCM metadata.
|
void |
populateInputsFromGit(java.lang.String sourceDir,
java.lang.String searchPath)
Populates the inputs list using dependency resolution including SCM metadata from git.
|
void |
populateOutputs(java.util.List<IExecute> execs)
Populates the output list with outputs derived from DBB executable command DD Statements
|
void |
setBuildFile(java.lang.String buildFile) |
void |
setDescription(java.lang.String description) |
void |
setResult(java.lang.String result) |
getOwner, getPermission, getTeam, setOwner, setPermission, setTeam
getCreated, getCreatedBy, getLastUpdated, getLastUpdatedBy, toJSON, toString
void addSource(java.lang.String ref, java.lang.String type, java.lang.String url, java.lang.String branch, java.lang.String location, java.lang.String snapshot) throws BuildException
ref
- the reference for this source, used when linking inputs and binary inputs to this sourcetype
- the type of sourceurl
- the url of this sourcebranch
- the branch of this sourcelocation
- the location of this sourcesnapshot
- the current snapshot of this sourceBuildException
- if there is an issue adding the sourcevoid populateGitSources(java.util.List<java.io.File> directories) throws BuildException
directories
- list of git repository paths to populate sources for using Git scm metadata discoveryBuildException
- if there is an issue populating the sources or calculating scm metadata from gitvoid addInput(java.lang.String lName, java.lang.String category) throws BuildException
lName
- the logical namecategory
- the category of the input. "SELF"
denotes the program's (represented by this build map)
own source file.BuildException
- if there is an issue adding the inputvoid addInput(java.lang.String lName, java.lang.String category, java.lang.String path) throws BuildException
lName
- the logical namecategory
- the category of the input. "SELF"
denotes the program's (represented by this build map)
own source file.path
- the path to the source file represented by the inputBuildException
- if there is an issue adding the inputvoid addInput(java.lang.String lName, java.lang.String category, java.lang.String path, java.lang.String sourceRef, java.lang.String version) throws BuildException
lName
- the logical namecategory
- the category of the input. "SELF"
denotes the program's (represented by this build map)
own source file.path
- the path to the source file represented by the inputsourceRef
- the source reference. A source with this reference must have already been added to this build mapversion
- the version, typically a git commit hashBuildException
- if there is an issue adding the input, or if no source exists within the build map for the provided sourceRefvoid populateInputs(java.lang.String sourceDir, java.lang.String searchPath) throws BuildException
sourceDir
- the source directory containing the build file and its dependenciessearchPath
- the search path used in dependency resolutionBuildException
- if there is an issue populating the inputs or an error occurrs during dependency resolutionvoid populateInputsFromGit(java.lang.String sourceDir, java.lang.String searchPath) throws BuildException
sourceDir
- the source directory containing the build file and its dependenciessearchPath
- the search path used in dependency resolutionBuildException
- if there is an issue populating the inputs, an error occurrs during dependency resolution,
or if there is an issue calculating metadata from gitvoid addBinaryInput(java.lang.String member, java.lang.String dataset) throws BuildException
member
- the member within the datasetdataset
- the dataset containing the binary input memberBuildException
- if there is an issue adding the binary inputvoid addBinaryInput(java.lang.String member, java.lang.String dataset, java.lang.String path, java.lang.String sourceRef, java.lang.String version) throws BuildException
member
- the member within the datasetdataset
- the dataset containing the binary input memberpath
- the pathsourceRef
- the source reference. A source with this reference must have already been added to this build mapversion
- the version, typically a git hashBuildException
- if there is an issue adding the binary input or if no source exists within the build map for the provided sourceRefvoid populateBinaryInputs(java.lang.String loadDataset, java.lang.String loadMember) throws BuildException
loadDataset
- the name of PDS containing the load moduleloadMember
- the name of the load PDS member to scanBuildException
- if there is an issue populating the binary inputsvoid populateBinaryInputsFromGit(java.lang.String loadDataset, java.lang.String loadMember) throws BuildException
loadDataset
- the name of PDS containing the load moduleloadMember
- the name of the load PDS member to scanBuildException
- if there is an issue populating the binary inputs or calculating git metadatavoid addOutput(java.lang.String member, java.lang.String dataset, java.lang.String deployType) throws BuildException
member
- the member or logical namedataset
- the dataset containing the output memberdeployType
- the deploy type of the outputBuildException
- if there is an issue adding the outputvoid addOutput(java.lang.String member, java.lang.String dataset, java.lang.String deployType, java.lang.String fingerprint, java.lang.String version) throws BuildException
member
- the member or logical namedataset
- the dataset containing the output memberdeployType
- the deploy type of the outputfingerprint
- version
- the version of the outputBuildException
- if there is an issue adding the outputvoid addOutput(java.lang.String path, java.lang.String deployType, java.lang.String fingerprint, java.lang.String version) throws BuildException
path
- the path to the outputdeployType
- the type of the outputfingerprint
- version
- the version of the outputBuildException
- if there is an issue adding the outputvoid populateOutputs(java.util.List<IExecute> execs) throws BuildException
execs
- list of IExecute
objects of which to derive outputs fromBuildException
- if there is an issue populating the outputsjava.lang.String getBuildFile() throws BuildException
BuildException
void setBuildFile(java.lang.String buildFile) throws BuildException
BuildException
java.lang.String getGroup() throws BuildException
BuildException
java.lang.String getResult() throws BuildException
BuildException
void setResult(java.lang.String result) throws BuildException
BuildException
java.lang.String getDescription() throws BuildException
BuildException
void setDescription(java.lang.String description) throws BuildException
BuildException
BuildMap.Source getSource(java.lang.String sourceRef) throws BuildException
BuildException
java.util.List<BuildMap.Source> getSources() throws BuildException
BuildException
java.util.List<BuildMap.Input> getInputs() throws BuildException
BuildException
java.util.List<BuildMap.BinaryInput> getBinaryInputs() throws BuildException
BuildException
java.util.List<BuildMap.Output> getOutputs() throws BuildException
BuildException
<IBM Copyright © 2018 IBM Corp. All Rights Reserved.