Uses of Class
com.ibm.dbb.build.BuildException
-
-
Uses of BuildException in com.ibm.dbb.build
Methods in com.ibm.dbb.build that throw BuildException Modifier and Type Method Description void
AbstractExec. addAllDDStatements(java.util.List<DDStatement> dds)
Concatenates a list of DD statements to the list of DD statements for this commandvoid
AbstractExec. addDDStatement(DDStatement dd)
Add a DD statement that will be allocated prior to executing the program and freed once program execution has completed.void
AbstractExec. addDDStatement(java.lang.String ddName, java.lang.String dsn, java.lang.String options, boolean pass)
Creates and adds a DD statement that will be allocated prior to executing the program and freed once program execution has completed.void
AbstractExec. addDDStatment(java.lang.String ddName, java.lang.String dsn, java.lang.String options, boolean pass)
Deprecated.CopyToPDS
CopyToPDS. archivedFile(java.lang.String archivedFile)
Set the archived file (e.g src/cobol/example.cbl)void
CopyToPDS. copy()
Executes the CopyToPDS commandvoid
CreatePDS. create()
Create a data setAbstractExec
AbstractExec. dd(DDStatement dd)
Add a DD statement that will be allocated prior to executing the program and freed once program execution has completed.int
AbstractExec. execute()
Executes the commandint
CopyToHFS. execute()
Executes the CopyToHFS commandint
CopyToPDS. execute()
Executes the CopyToPDS commandint
CreatePDS. execute()
Calls the create()int
IExecute. execute()
Executes the commandint
JCLExec. execute()
Deprecated.Submit a JCL and wait for the job has been submittedint
JobExec. execute()
Submit a JCL job and wait for the job to complete with default wait time of 1 hourint
JobExec. execute(int timeout, java.util.concurrent.TimeUnit timeUnit)
Deprecated.As of release 2.0.2, set timeout withJobExec.setTimeout(int, java.util.concurrent.TimeUnit)
and useJobExec.execute()
.int
MVSJob. execute()
Executes the list of commands that were added using theaddExecutable()
method, cleaning up any passed DD statements at the end of the run.int
UnixExec. execute()
Executes the UnixExec command.int
UnixExec. execute(long timeout, java.util.concurrent.TimeUnit timeUnit)
Executes the UnixExec command.int
IExecute2. executeAndWaitFor(int timeout, java.util.concurrent.TimeUnit unit)
Deprecated.int
JCLExec. executeAndWaitFor(int timeout, java.util.concurrent.TimeUnit unit)
Deprecated.Submit a JCL and wait for a certain time before returnjava.util.List<java.lang.String>
JCLExec. getAllDDNames()
Deprecated.Return all output DD names of the submitted jobjava.util.List<java.lang.String>
JCLExec. getAllDDNames(boolean qualified)
Deprecated.Return all qualified output DD names of the submitted job.void
JCLExec. saveOutput(java.io.File file)
Deprecated.Save the output of the submitted job in a file on HFSvoid
JCLExec. saveOutput(java.io.File file, java.lang.String encoding)
Deprecated.Save the output of the submitted job in a file on HFSvoid
JCLExec. saveOutput(java.lang.String ddName, java.io.File file)
Deprecated.Save the output of a specific DD in a file on HFSvoid
JCLExec. saveOutput(java.lang.String ddName, java.io.File file, boolean removeASA)
Deprecated.Save the output of a specific DD in a file on HFSvoid
JCLExec. saveOutput(java.lang.String ddName, java.io.File file, java.lang.String encoding)
Deprecated.Save the output of a specific DD in a file on HFSvoid
JCLExec. saveOutput(java.lang.String ddName, java.io.File file, java.lang.String encoding, boolean removeASA)
Deprecated.Save the output of a specific DD in a file on HFSvoid
JCLExec. saveOutput(java.lang.String ddName, java.lang.String sourceEncoding, java.io.File file, java.lang.String targetEncoding, boolean removeASA)
Deprecated.Save the output of a specific DD in a file on HFSvoid
JobExec. saveOutput(java.io.File file)
Save the output of the submitted job in a file on HFSvoid
JobExec. saveOutput(java.io.File file, java.lang.String targetEncoding)
Save the output of the submitted job in a file on HFSvoid
JobExec. saveOutput(java.lang.String ddName, java.io.File file)
Save the output of a specific DD in a file on HFSvoid
JobExec. saveOutput(java.lang.String ddName, java.io.File file, java.lang.String targetEncoding)
Save the output of a specific DD in a file on HFSvoid
JobExec. saveOutput(java.lang.String ddName, java.io.File file, java.lang.String sourceEncoding, java.lang.String targetEncoding)
Save the output of a specific DD in a file on HFSvoid
CopyToPDS. setArchivedFile(java.lang.String archivedFile)
Set the archived file (e.g src/cobol/example.cbl) -
Uses of BuildException in com.ibm.dbb.build.report
Methods in com.ibm.dbb.build.report that throw BuildException Modifier and Type Method Description void
BuildReport. generateHTML(java.io.File htmlFile)
Generate the html file from the list of recordsvoid
BuildReport. save(java.io.File outputFile)
Save all records stored in this build report to a standard json file.void
BuildReport. save(java.io.File outputFile, java.lang.String encoding)
Deprecated.As of release 2.0.1.2, replaced byBuildReport.save(File)
-
Uses of BuildException in com.ibm.dbb.build.report.records
Methods in com.ibm.dbb.build.report.records that throw BuildException Modifier and Type Method Description void
AnyTypeRecord. setAttribute(java.lang.String name, java.lang.String value)
Set a String value attribute to the record.void
AnyTypeRecord. setAttribute(java.lang.String name, java.util.List<java.lang.String> value)
Set a String List value to the record. -
Uses of BuildException in com.ibm.dbb.build.smf
Methods in com.ibm.dbb.build.smf that throw BuildException Modifier and Type Method Description void
DBBSmfRecord. write()
Move DBB SMF record information into buffer and write the SMF record. -
Uses of BuildException in com.ibm.dbb.dependency
Methods in com.ibm.dbb.dependency that throw BuildException Modifier and Type Method Description java.util.Set<ImpactFile>
SearchPathImpactFinder. findImpactedFiles(java.lang.String changedFile, java.lang.String sourceDir)
This method uses themethod to retrieve the file's list of {@link LogicalDependency} to resolve.
static LogicalFile
SearchPathDependencyResolver. getArchivedLogicalFile(java.lang.String file, java.lang.String archive)
ExecutesDependencyUtilities.getArchivedLogicalFile(java.lang.String, java.lang.String, boolean)
with the logical file cache enabled.static LogicalFile
SearchPathDependencyResolver. getArchivedLogicalFile(java.lang.String file, java.lang.String archive, boolean disableCache)
ExecutesDependencyUtilities.getArchivedLogicalFile(java.lang.String, java.lang.String, boolean)
.static LogicalFile
SearchPathDependencyResolver. getLogicalFile(java.lang.String file, java.lang.String sourceDir)
ExecutesDependencyUtilities.getLogicalFile(java.lang.String, java.lang.String, boolean)
with the logical file cache enabled.static LogicalFile
SearchPathDependencyResolver. getLogicalFile(java.lang.String file, java.lang.String sourceDir, boolean disableCache)
ExecutesDependencyUtilities.getLogicalFile(java.lang.String, java.lang.String, boolean)
.java.util.List<PhysicalDependency>
LogicalFile. resolveDependencies(java.lang.String searchPathString)
Retrieves the list of the Physical Dependencies, resolved according to the searchPathStringjava.util.List<PhysicalDependency>
LogicalFile. resolveDependencies(java.lang.String searchPathString, java.lang.String lname)
Retrieves the list of Physical Dependencies with the input logical name, resolved according to the searchPathStringjava.util.List<PhysicalDependency>
LogicalFile. resolveDependencies(java.lang.String searchPathString, java.util.List<java.lang.String> lnames)
Retrieves the list of Physical Dependencies matching the logical names input, resolved according to the searchPathStringjava.util.List<PhysicalDependency>
LogicalFile. resolveDependencies(java.util.List<com.ibm.dbb.dependency.internal.SearchPath> searchPathList)
Retrieves the list of the Physical Dependencies, resolved according to the searchPathStringjava.util.List<PhysicalDependency>
LogicalFile. resolveDependencies(java.util.List<com.ibm.dbb.dependency.internal.SearchPath> searchPathList, java.util.List<java.lang.String> lnames)
Retrieves the list of Physical Dependencies matching the logical names input, resolved according to the searchPathStringjava.util.List<PhysicalDependency>
SearchPathDependencyResolver. resolveDependencies(java.lang.String file, java.lang.String sourceDir)
Resolves logical dependencies in a source file (ex.LogicalFile
SearchPathDependencyResolver. resolveSubsystems(java.lang.String file, java.lang.String sourceDir)
Updates the source file's logical file subsystem flags i.e.LogicalFile
ILinkEditScanner. scan(java.lang.String file)
Scan and collect logical dependency of a load moduleLogicalFile
ILinkEditScanner. scan(java.lang.String file, java.lang.String loadPDS)
Scan and collect logical dependency of a load moduleLogicalFile
ILinkEditScanner. scan(java.lang.String file, java.lang.String loadPDS, java.lang.String member)
Scan and collect logical dependency of a load moduleLogicalFile
LinkEditScanner. scan(java.lang.String file)
LogicalFile
LinkEditScanner. scan(java.lang.String file, java.lang.String loadPDS)
LogicalFile
LinkEditScanner. scan(java.lang.String file, java.lang.String loadPDS, java.lang.String member)
Scan and collect logical dependency of a load modulejava.util.List<LogicalFile>
AbstractDependencyScanner. scanArchive(java.lang.String archive, java.lang.String sourceDir)
Scan and collect logical dependencies from an archivejava.util.List<LogicalFile>
AbstractDependencyScanner. scanArchive(java.lang.String archive, java.lang.String sourceDir, java.lang.String encoding)
Scan and collect logical dependencies from an archivejava.util.List<LogicalFile>
IDependencyScanner. scanArchive(java.lang.String archive, java.lang.String sourceDir)
Scan and collect logical dependencies from an archive.java.util.List<LogicalFile>
IDependencyScanner. scanArchive(java.lang.String archive, java.lang.String sourceDir, java.lang.String encoding)
Scan and collect logical dependencies from an archiveLogicalFile
AbstractDependencyScanner. scanArchivedFile(java.lang.String archive, java.lang.String sourceDir, java.lang.String file)
Scan and collect the logical dependency from an archived fileLogicalFile
AbstractDependencyScanner. scanArchivedFile(java.lang.String archive, java.lang.String sourceDir, java.lang.String file, java.lang.String encoding)
Scan and collect the logical dependency from an archived fileLogicalFile
IDependencyScanner. scanArchivedFile(java.lang.String archive, java.lang.String sourceDir, java.lang.String file)
Scan and collect the logical dependency from an archived file.LogicalFile
IDependencyScanner. scanArchivedFile(java.lang.String archive, java.lang.String sourceDir, java.lang.String file, java.lang.String encoding)
Scan and collect the logical dependency from an archived filecom.google.gson.JsonObject
ImpactFile. toJSON()
Returns a JSON representation of the object -
Uses of BuildException in com.ibm.dbb.metadata
Methods in com.ibm.dbb.metadata that throw BuildException Modifier and Type Method Description void
BuildResult. addAttachment(java.lang.String name, java.io.InputStream contents)
Add an attachment to the build resultvoid
BuildResult. addAttachment(java.lang.String name, java.lang.String contentType, java.io.InputStream contents)
Add an attachment to the build resultvoid
BuildMap. addBinaryInput(java.lang.String member, java.lang.String dataset)
Add a binary input to the build mapvoid
BuildMap. 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 mapvoid
BuildMap. addInput(java.lang.String lName, java.lang.String category)
Add an input to the build mapvoid
BuildMap. addInput(java.lang.String lName, java.lang.String category, java.lang.String path)
Add an input to the build mapvoid
BuildMap. 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 mapvoid
Collection. addLogicalFile(LogicalFile lfile)
Convenient method to save a logical file to the repositoryvoid
Collection. addLogicalFiles(java.util.List<LogicalFile> lfiles)
Save a list of logical filesvoid
BuildMap. addOutput(java.lang.String member, java.lang.String dataset, java.lang.String deployType)
Adds an output to the build mapvoid
BuildMap. addOutput(java.lang.String path, java.lang.String deployType, java.lang.String fingerprint, java.lang.String version)
Adds an output to the build mapvoid
BuildMap. 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 mapvoid
BuildResult. addProperty(java.lang.String name, java.lang.String value)
Add a property to the build resultvoid
BuildResult. addProperty(java.lang.String name, java.util.List<java.lang.String> values)
Add a property to the build resultvoid
BuildMap. 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 mapboolean
MetadataStore. buildGroupExists(java.lang.String group)
Check wheter a build group existsboolean
BuildGroup. buildMapExists(java.lang.String buildFile)
Check whether a build map for the provided buildFile exists within this build groupboolean
BuildGroup. buildResultExists(java.lang.String label)
Check whether a build result existsboolean
MetadataStore. buildResultExists(java.lang.String group, java.lang.String label)
Deprecated.As of release 2.0.2, replaced byBuildGroup.buildResultExists(String label)
boolean
BuildGroup. collectionExists(java.lang.String name)
Check whether a collection exists within this build groupboolean
MetadataStore. collectionExists(java.lang.String collectionName)
Deprecated.As of release 2.0.2, replaced byBuildGroup.collectionExists(String name)
Collection
Collection. copy(java.lang.String newName)
Create a copy of this collection with the specified name within the same build groupBuildGroup
MetadataStore. copyBuildGroup(java.lang.String source, java.lang.String newName, boolean collections, boolean buildResults, boolean buildMaps)
Creates a new build group, copying all collections, build results, and/or all build maps, as selected, to the new build group.Collection
BuildGroup. copyCollection(Collection collection, java.lang.String newName)
Copy a collection to this build groupCollection
BuildGroup. copyCollection(java.lang.String name, java.lang.String newName)
Copy a collection within this build groupCollection
MetadataStore. copyCollection(Collection collection, java.lang.String newName)
Deprecated.As of release 2.0.2, replaced byBuildGroup.copyCollection(String, String)
andBuildGroup.copyCollection(Collection, String)
Collection
MetadataStore. copyCollection(java.lang.String collectionName, java.lang.String newName)
Deprecated.As of release 2.0.2, replaced byBuildGroup.copyCollection(String, String)
andBuildGroup.copyCollection(Collection, String)
BuildGroup
MetadataStore. createBuildGroup(java.lang.String group)
Creates a new build groupBuildMap
BuildGroup. createBuildMap(java.lang.String buildFile)
Create a build mapBuildMap
BuildGroup. createBuildMap(java.lang.String buildFile, java.lang.String result, java.lang.String description)
Create a build map within this build groupBuildMap
BuildGroup. createBuildMap(java.lang.String buildFile, java.lang.String result, java.lang.String description, java.lang.String owner, java.lang.String team, int permission)
Create a build map within this build groupBuildResult
BuildGroup. createBuildResult(java.lang.String label)
Create a build resultBuildResult
BuildGroup. createBuildResult(java.lang.String label, java.lang.String owner, java.lang.String team, int permission)
Create a build resultBuildResult
MetadataStore. createBuildResult(java.lang.String group, java.lang.String label)
Deprecated.As of release 2.0.2, replaced byBuildGroup.createBuildResult(String)
BuildResult
MetadataStore. createBuildResult(java.lang.String group, java.lang.String label, java.lang.String owner, java.lang.String team, int permission)
Deprecated.As of release 2.0.2, replaced byBuildGroup.createBuildResult(String,String,String,int)
Collection
BuildGroup. createCollection(java.lang.String name)
Create a collection with the specified nameCollection
BuildGroup. createCollection(java.lang.String name, java.lang.String owner, java.lang.String team, int permission)
Create a collection with the specified attributesCollection
MetadataStore. createCollection(java.lang.String collectionName)
Deprecated.As of release 2.0.2, replaced byBuildGroup.createCollection(String)
Collection
MetadataStore. createCollection(java.lang.String name, java.lang.String owner, java.lang.String team, int permission)
Deprecated.As of release 2.0.2, replaced byBuildGroup.createCollection(String, String, String, int)
static MetadataStore
MetadataStoreFactory. createDb2MetadataStore(java.lang.String userid, java.io.File passwordFile, java.util.Properties connectionProperties)
Create a configured Db2 backed metadata store instance using Db2 JDBC connection properties.static MetadataStore
MetadataStoreFactory. createDb2MetadataStore(java.lang.String url, java.lang.String userid, java.io.File passwordFile)
Create a basic Db2 connected metadata store instance.static MetadataStore
MetadataStoreFactory. createDb2MetadataStore(java.lang.String url, java.lang.String userId, java.lang.String password)
Create a basic Db2 connected metadata store instance.static MetadataStore
MetadataStoreFactory. createDb2MetadataStore(java.lang.String userid, java.lang.String password, java.util.Properties connectionProperties)
Create a configured Db2 backed metadata store instance using Db2 JDBC connection properties.static MetadataStore
MetadataStoreFactory. createFileMetadataStore()
Create a file system metadata store instance in the user's$HOME
directorystatic MetadataStore
MetadataStoreFactory. createFileMetadataStore(java.lang.String location)
Create a file system metadata store instance at the location provided.BuildGroup
MetadataStore. createTopicBuildGroup(java.lang.String source, java.lang.String newName)
Creates a new topic branch build group, copying all collections and the last successful build result to the new build group.void
BuildResult. deleteAttachment(java.lang.String name)
Delete an existing attachment(s) with the provided namevoid
MetadataStore. deleteBuildGroup(BuildGroup group)
Delete an existing build groupvoid
MetadataStore. deleteBuildGroup(java.lang.String group)
Delete an existing build groupvoid
BuildGroup. deleteBuildMap(BuildMap buildMap)
Delete a build mapvoid
BuildGroup. deleteBuildMap(java.lang.String buildFile)
Delete a build mapvoid
BuildGroup. deleteBuildMaps()
Delete all build maps in the build groupvoid
BuildGroup. deleteBuildResult(BuildResult buildResult)
Delete a build result from this build groupvoid
BuildGroup. deleteBuildResult(java.lang.String label)
Delete a build result from this build groupvoid
MetadataStore. deleteBuildResult(BuildResult buildResult)
Deprecated.As of release 2.0.2, replaced byBuildGroup.deleteBuildResult(String)
andBuildGroup.deleteBuildResult(BuildResult)
void
BuildGroup. deleteBuildResults()
Delete all build results from this build groupvoid
MetadataStore. deleteBuildResults(java.lang.String group)
Deprecated.As of release 2.0.2, replaced byBuildGroup#deleteBuildResults(String)
void
BuildGroup. deleteCollection(Collection collection)
Delete a collectionvoid
BuildGroup. deleteCollection(java.lang.String name)
Delete a collectionvoid
MetadataStore. deleteCollection(Collection collection)
Deprecated.As of release 2.0.2, replaced byBuildGroup.deleteCollection(Collection)
void
MetadataStore. deleteCollection(java.lang.String collectionName)
Deprecated.As of release 2.0.2, replaced byBuildGroup.deleteCollection(String)
void
BuildGroup. deleteCollections()
Delete all collections in a build groupvoid
Collection. deleteLogicalFile(java.lang.String file)
Delete a logical file for a given source filevoid
BuildResult. deleteProperty(java.lang.String name)
Delete a property on the build result.void
BuildResult. deleteProperty(java.lang.String name, java.lang.String value)
Delete a property/value pair on the build result.java.util.List<BuildMap>
BuildGroup. findBuildMaps(java.lang.String member, java.lang.String dataset, java.lang.String path, java.lang.String deployType)
Find all build maps which have an Output matching all of the provided Output members.Attachment
BuildResult. getAttachment(java.lang.String name)
Retrieve an attachment from the build resultjava.util.List<Attachment>
BuildResult. getAttachments()
Get all attachments stored in this build resultjava.util.List<BuildMap.BinaryInput>
BuildMap. getBinaryInputs()
java.lang.String
BuildMap. getBuildFile()
BuildGroup
MetadataStore. getBuildGroup(java.lang.String group)
Get a build groupjava.util.List<java.lang.String>
MetadataStore. getBuildGroupNames()
Get a list of all build group namesjava.util.List<BuildGroup>
MetadataStore. getBuildGroups()
Get a list of all build groupsBuildMap
BuildGroup. getBuildMap(java.lang.String buildFile)
Get a build mapjava.util.List<BuildMap>
BuildGroup. getBuildMaps()
Get all build maps within this build groupAttachment
BuildResult. getBuildReport()
Return the build report HTML for display purposeAttachment
BuildResult. getBuildReportData()
Return the build report JSON dataBuildResult
BuildGroup. getBuildResult(java.lang.String label)
Get a build result by the provided labelBuildResult
MetadataStore. getBuildResult(java.lang.String group, java.lang.String label)
Deprecated.As of release 2.0.2, replaced byBuildGroup.getBuildResult(String label)
java.util.List<java.lang.String>
BuildGroup. getBuildResultLabels()
Get all build result labels within this BuildGroupjava.util.List<BuildResult>
BuildGroup. getBuildResults()
Get all build results within this BuildGroupjava.util.List<BuildResult>
BuildGroup. getBuildResults(int state, int status)
Get all build results which have the specifed state and statusjava.util.List<BuildResult>
MetadataStore. getBuildResults(java.lang.String group)
Deprecated.As of release 2.0.2, replaced byBuildGroup.getBuildResults()
java.util.List<BuildResult>
MetadataStore. getBuildResults(java.util.Map<BuildResult.QueryParms,java.lang.String> queryParms)
Deprecated.As of release 2.0.2, replaced byBuildGroup.getBuildResult(String label)
Collection
BuildGroup. getCollection(java.lang.String name)
Get a collection by nameCollection
MetadataStore. getCollection(java.lang.String name)
Deprecated.As of release 2.0.2, replaced byBuildGroup.getCollection(String)
java.util.List<Collection>
BuildGroup. getCollections()
Get all collections within this build groupjava.util.List<Collection>
MetadataStore. getCollections()
Deprecated.As of release 2.0.2, replaced byBuildGroup.getCollections()
java.io.InputStream
Attachment. getContent()
Returns an input stream of the datajava.lang.String
BuildMap. getDescription()
java.lang.String
BuildMap. getGroup()
java.lang.String
Collection. getGroup()
Get the build group of the collectionjava.util.List<Collection>
BuildGroup. getImpactedFiles(java.util.List<java.lang.String> collections, java.util.List<LogicalDependency> lds)
Get a list of impacted files in a list of collections with dependencies on a list of logical dependencies.java.util.List<Collection>
MetadataStore. getImpactedFiles(java.util.List<java.lang.String> collections, java.util.List<LogicalDependency> lds)
Get a list of impacted files in a list of collections with dependencies on a list of logical dependencies.java.util.List<BuildMap.Input>
BuildMap. getInputs()
BuildResult
BuildGroup. getLastBuildResult(int state, int status)
Get the most recent build result which have the specifed state and statusBuildResult
MetadataStore. getLastBuildResult(java.lang.String group, int state, int status)
Deprecated.As of release 2.0.2, replaced byBuildGroup.getLastBuildResult(int, int)
LogicalFile
Collection. getLogicalFile(java.lang.String file)
Return a logical file for a source filejava.util.List<LogicalFile>
Collection. getLogicalFiles()
Get a list of all logical files in a Collectionjava.util.List<LogicalFile>
Collection. getLogicalFiles(LogicalDependency logicalDependency)
Get all logical files that match a given logical dependencyjava.util.List<LogicalFile>
Collection. getLogicalFiles(java.lang.String logicalName)
Return a list of logical files for a programjava.util.List<BuildMap.Output>
BuildMap. getOutputs()
java.lang.String
ManagedObject. getOwner()
Return the owner of the managed objectint
ManagedObject. getPermission()
Return the permission for the managed objectjava.util.List<java.lang.String>
BuildResult. getProperties(java.lang.String name)
returns all of the values of the named property in the build resultjava.lang.String
BuildResult. getProperty(java.lang.String name)
return the value of the property in the build result.java.util.List<java.lang.String>
BuildResult. getPropertyNames()
returns a list of property names in the build resultjava.lang.String
BuildMap. getResult()
BuildMap.Source
BuildMap. getSource(java.lang.String sourceRef)
java.util.List<BuildMap.Source>
BuildMap. getSources()
int
BuildResult. getState()
Returns the current state of the build resultint
BuildResult. getStatus()
Returns the current status of the build resultjava.lang.String
ManagedObject. getTeam()
Return the team for the managed objectjava.util.List<java.lang.String>
MetadataStore. listBuildResultGroups()
Deprecated.As of release 2.0.2, replaced byMetadataStore.getBuildGroupNames()
java.util.List<java.lang.String>
MetadataStore. listBuildResultLabels(java.lang.String group)
Deprecated.As of release 2.0.2, replaced byBuildGroup.getBuildResultLabels()
void
BuildMap. populateBinaryInputs(java.lang.String loadDataset, java.lang.String loadMember)
Populates the binary inputs list using the load module scanner without SCM metadatavoid
BuildMap. 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
BuildMap. populateGitSources(java.util.List<java.io.File> directories)
Populates the sources list by providing a list of local Git clone directories to introspectvoid
BuildMap. populateInputs(java.lang.String sourceDir, java.lang.String searchPath)
Populates the inputs list using dependency resolution without SCM metadata.void
BuildMap. populateInputsFromGit(java.lang.String sourceDir, java.lang.String searchPath)
Populates the inputs list using dependency resolution including SCM metadata from git.void
BuildMap. populateOutputs(java.util.List<IExecute> execs)
Populates the output list with outputs derived from DBB executable command DD Statementsvoid
BuildMap. setBuildFile(java.lang.String buildFile)
void
BuildResult. setBuildReport(java.io.InputStream contents)
Set the content of the build report HTMLvoid
BuildResult. setBuildReportData(java.io.InputStream contents)
Set the content of the build report JSON datavoid
Attachment. setContent(java.io.InputStream content)
Sets the contents of the attachment as an input streamvoid
BuildMap. setDescription(java.lang.String description)
void
BuildResult. setLabel(java.lang.String label)
Sets the BuildResult labelvoid
Collection. setName(java.lang.String name)
Set the name of the Collectionvoid
ManagedObject. setOwner(java.lang.String owner)
Set the owner of the managed objectvoid
ManagedObject. setPermission(int permission)
Set the permission for the managed object.void
BuildResult. setProperty(java.lang.String name, java.lang.String value)
Replace a property in the build resultvoid
BuildResult. setProperty(java.lang.String name, java.util.List<java.lang.String> values)
Replace a property in the build resultvoid
BuildMap. setResult(java.lang.String result)
void
BuildResult. setState(int value)
Update the current state of the build resultvoid
BuildResult. setStatus(int value)
Update the current status of the build resultvoid
ManagedObject. setTeam(java.lang.String team)
Set the team for the managed objectcom.google.gson.JsonObject
MetadataObject. toJSON()
Output the attributes of the repository object in JSON format -
Uses of BuildException in com.ibm.dbb.task
Methods in com.ibm.dbb.task that throw BuildException Modifier and Type Method Description BuildGroup
AbstractTask. getBuildGroup()
Retrieves the common Build Group or null if there is no match.BuildResult
AbstractTask. getBuildResult()
Retrieves the common Build Result or null if there is no match.org.apache.commons.cli.CommandLine
AbstractTask. getCommandLine()
Retrieves the common Command Line or null if there is no match.java.lang.Object
TaskVariables. getFileVariable(java.lang.String key, java.lang.String file)
shouldFileGetsDefault
defaults to the value saved during construction.java.lang.Object
TaskVariables. getFileVariable(java.lang.String key, java.lang.String file, boolean shouldFileGetsDefault)
Retrieves the first match for the specified key and file, defaulting to theAbstractVariables.getVariable(String)
method according to theshouldFileGetsDefault
parameter.java.lang.Object
TaskVariables. replaceReferences(java.lang.Object value, java.lang.String file)
Replaces any references for the input object if possible.void
AbstractTask. verifyRequiredContextVariable(java.lang.Object value, java.lang.String key)
Throw a missing task variable error if the value is nullvoid
AbstractTask. verifyRequiredOption(java.lang.Object value, org.apache.commons.cli.Option option)
Throw a missing CLI option error if the value is nullvoid
AbstractTask. verifyRequiredVariable(java.lang.Object value, java.lang.String key)
Throw a missing task variable error if the value is null -
Uses of BuildException in com.ibm.dbb.task.configuration
Methods in com.ibm.dbb.task.configuration that throw BuildException Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.Object>
ConfigurationParser. getApplicationConfiguration(java.lang.String file)
Reads an application configuration file and validates it against the application configuration schema.static java.util.Map<java.lang.String,java.lang.Object>
ConfigurationParser. getBuildConfiguration()
Reads the default build configuration file in the DBB installation build folder and validates it against the build configuration schema.static java.util.Map<java.lang.String,java.lang.Object>
ConfigurationParser. getBuildConfiguration(java.lang.String file)
Reads a build configuration file and validates it against the build configuration schema.static java.util.Map<java.lang.String,java.lang.Object>
ConfigurationParser. getDependencyFile(java.lang.String file)
Reads a dependency file and validates it against the dependency file schema.void
ApplicationConfiguration. load(java.io.File yamlFile)
Loads the application configuration from the input yaml file.void
BuildConfiguration. load(java.io.File yamlFile, java.io.File sourceDir)
Loads a Build Configuration yaml file and an application configuration file if one is found or included.static java.util.Map<java.lang.String,java.lang.Object>
ConfigurationParser. parseYaml(java.lang.String path)
Parses a yaml file at the specified path.static void
ConfigurationParser. validateAppConfigurationVersion(java.lang.String file, java.util.Map<java.lang.String,java.lang.Object> configurationMap)
Validates the version variable in a map representing an application configuration.static void
ConfigurationParser. validateApplicationConfiguration(java.lang.String file, java.util.Map<java.lang.String,java.lang.Object> configurationMap)
Validate an application configuration map.static void
ConfigurationParser. validateBuildConfiguration(java.lang.String file, java.util.Map<java.lang.String,java.lang.Object> configurationMap)
Validate a build configuration map.static void
ConfigurationParser. validateBuildConfigurationVersion(java.lang.String file, java.util.Map<java.lang.String,java.lang.Object> configurationMap)
Validates the version variable in a map representing a build configuration. -
Uses of BuildException in com.ibm.dbb.task.framework
Subclasses of BuildException in com.ibm.dbb.task.framework Modifier and Type Class Description class
ClassSourceException
Throw when a failure occurs on loading or identifying the source class/script for a task or executorMethods in com.ibm.dbb.task.framework that throw BuildException Modifier and Type Method Description boolean
Orchestrator. loadConfiguration(java.lang.String lifecycle, java.io.File sourceDir, java.lang.String[] args)
Loads the build configuration from $DBB_BUILD, and the application configuration from include statements or, secondly, the input source directory.java.lang.Class<?>
Orchestrator.Executor. loadScript(java.lang.String executor, java.io.File taskFile)
Loads a script using an executor, loading the executor from file or package if it is not already cached.void
Orchestrator.Executor. validateTaskSource(com.ibm.dbb.task.configuration.TaskConfiguration task, AbstractVariables variables, java.lang.String taskName)
Constructors in com.ibm.dbb.task.framework that throw BuildException Constructor Description Executor()
-
Uses of BuildException in com.ibm.dbb.task.variables
Methods in com.ibm.dbb.task.variables that throw BuildException Modifier and Type Method Description default java.lang.Boolean
TypableFileVariable. getBooleanFileVariable(java.lang.String key, java.lang.String file)
Retrieves the first match for the specified key and file or null if there is no match and casts it to a Boolean type.default java.lang.Boolean
TypableFileVariable. getBooleanFileVariable(java.lang.String key, java.lang.String file, java.lang.Boolean defaultValue)
Retrieves the first match for the specified key and file or the default value if there is no match and casts it to a Boolean type.default java.lang.Boolean
TypableVariable. getBooleanVariable(java.lang.String key)
Retrieves the first match for the specified key or null if there is no match and casts it to a Boolean type.default java.lang.Boolean
TypableVariable. getBooleanVariable(java.lang.String key, java.lang.Boolean defaultValue)
Retrieves the first match for the specified key or the default value if there is no match and casts it to a Boolean type.default BuildGroup
TypableVariable. getBuildGroup(java.lang.String key)
Retrieves the first match for the specified key or null if there is no match and casts it to a BuildGroup type.default BuildResult
TypableVariable. getBuildResult(java.lang.String key)
Retrieves the first match for the specified key or null if there is no match and casts it to a BuildResult type.default org.apache.commons.cli.CommandLine
TypableVariable. getCommandLine(java.lang.String key)
Retrieves the first match for the specified key or null if there is no match and casts it to a CommandLine type.default java.lang.Double
TypableFileVariable. getDoubleFileVariable(java.lang.String key, java.lang.String file)
Retrieves the first match for the specified key and file or null if there is no match and casts it to a Double type.default java.lang.Double
TypableFileVariable. getDoubleFileVariable(java.lang.String key, java.lang.String file, java.lang.Double defaultValue)
Retrieves the first match for the specified key and file or the default value if there is no match and casts it to a Double type.default java.lang.Double
TypableVariable. getDoubleVariable(java.lang.String key)
Retrieves the first match for the specified key or null if there is no match and casts it to a Double type.default java.lang.Double
TypableVariable. getDoubleVariable(java.lang.String key, java.lang.Double defaultValue)
Retrieves the first match for the specified key or the default value if there is no match and casts it to a Double type.java.lang.Object
TypableFileVariable. getFileVariable(java.lang.String key, java.lang.String file)
Retrieves the first match for the specified key and file or null if there is no match found.default java.lang.Integer
TypableFileVariable. getIntegerFileVariable(java.lang.String key, java.lang.String file)
Retrieves the first match for the specified key and file or null if there is no match and casts it to a Integer type.default java.lang.Integer
TypableFileVariable. getIntegerFileVariable(java.lang.String key, java.lang.String file, java.lang.Integer defaultValue)
Retrieves the first match for the specified key and file or the default value if there is no match and casts it to a Integer type.default java.lang.Integer
TypableVariable. getIntegerVariable(java.lang.String key)
Retrieves the first match for the specified key or null if there is no match and casts it to a Integer type.default java.lang.Integer
TypableVariable. getIntegerVariable(java.lang.String key, java.lang.Integer defaultValue)
Retrieves the first match for the specified key or the default value if there is no match and casts it to a Integer type.default java.util.List<java.lang.Object>
TypableFileVariable. getListFileVariable(java.lang.String key, java.lang.String file)
Retrieves the first match for the specified key and file or null if there is no match and casts it to a Listdefault java.util.List<java.lang.Object>
TypableFileVariable. getListFileVariable(java.lang.String key, java.lang.String file, java.util.List<java.lang.Object> defaultValue)
Retrieves the first match for the specified key and file or the default value if there is no match and casts it to a Listdefault java.util.List<java.lang.String>
TypableFileVariable. getListStringFileVariable(java.lang.String key, java.lang.String file)
Retrieves the first match for the specified key and file or null if there is no match and casts it to a Listtype. default java.util.List<java.lang.String>
TypableFileVariable. getListStringFileVariable(java.lang.String key, java.lang.String file, java.util.List<java.lang.String> defaultValue)
Retrieves the first match for the specified key and file or the default value if there is no match and casts it to a Listtype. default java.util.List<java.lang.String>
TypableVariable. getListStringVariable(java.lang.String key)
Retrieves the first match for the specified key or null if there is no match and casts it to a Listtype. default java.util.List<java.lang.String>
TypableVariable. getListStringVariable(java.lang.String key, java.util.List<java.lang.String> defaultValue)
Retrieves the first match for the specified key or the default value if there is no match and casts it to a Listtype. default java.util.List<java.lang.Object>
TypableVariable. getListVariable(java.lang.String key)
Retrieves the first match for the specified key or null if there is no match and casts it to a Listdefault java.util.List<java.lang.Object>
TypableVariable. getListVariable(java.lang.String key, java.util.List<java.lang.Object> defaultValue)
Retrieves the first match for the specified key or the default value if there is no match and casts it to a Listdefault java.util.Map<java.lang.String,java.lang.Object>
TypableFileVariable. getMapFileVariable(java.lang.String key, java.lang.String file)
Retrieves the first match for the specified key and file or null if there is no match and casts it to a Maptype. default java.util.Map<java.lang.String,java.lang.Object>
TypableFileVariable. getMapFileVariable(java.lang.String key, java.lang.String file, java.util.Map<java.lang.String,java.lang.Object> defaultValue)
Retrieves the first match for the specified key and file or the default value if there is no match and casts it to a Maptype. default java.util.Map<java.lang.String,java.lang.Object>
TypableVariable. getMapVariable(java.lang.String key)
Retrieves the first match for the specified key or null if there is no match and casts it to a Maptype. default java.util.Map<java.lang.String,java.lang.Object>
TypableVariable. getMapVariable(java.lang.String key, java.util.Map<java.lang.String,java.lang.Object> defaultValue)
Retrieves the first match for the specified key or the default value if there is no match and casts it to a Maptype. default java.util.Set<java.lang.Object>
TypableFileVariable. getSetFileVariable(java.lang.String key, java.lang.String file)
Retrieves the first match for the specified key and file or null if there is no match and casts it to a Setdefault java.util.Set<java.lang.Object>
TypableFileVariable. getSetFileVariable(java.lang.String key, java.lang.String file, java.util.Set<java.lang.Object> defaultValue)
Retrieves the first match for the specified key and file or the default value if there is no match and casts it to a Setdefault java.util.Set<java.lang.String>
TypableFileVariable. getSetStringFileVariable(java.lang.String key, java.lang.String file)
Retrieves the first match for the specified key and file or null if there is no match and casts it to a Settype. default java.util.Set<java.lang.String>
TypableFileVariable. getSetStringFileVariable(java.lang.String key, java.lang.String file, java.util.Set<java.lang.String> defaultValue)
Retrieves the first match for the specified key and file or the default value if there is no match and casts it to a Settype. default java.util.Set<java.lang.String>
TypableVariable. getSetStringVariable(java.lang.String key)
Retrieves the first match for the specified key or null if there is no match and casts it to a Settype. default java.util.Set<java.lang.String>
TypableVariable. getSetStringVariable(java.lang.String key, java.util.Set<java.lang.String> defaultValue)
Retrieves the first match for the specified key or the default value if there is no match and casts it to a Settype. default java.util.Set<java.lang.Object>
TypableVariable. getSetVariable(java.lang.String key)
Retrieves the first match for the specified key or null if there is no match and casts it to a Setdefault java.lang.String
TypableFileVariable. getStringFileVariable(java.lang.String key, java.lang.String file)
Retrieves the first match for the specified key and file or null if there is no match and casts it to a String type.default java.lang.String
TypableFileVariable. getStringFileVariable(java.lang.String key, java.lang.String file, java.lang.String defaultValue)
Retrieves the first match for the specified key and file or the default value if there is no match and casts it to a String type.default java.lang.String
TypableVariable. getStringVariable(java.lang.String key)
Retrieves the first match for the specified key or null if there is no match and casts it to a String type.default java.lang.String
TypableVariable. getStringVariable(java.lang.String key, java.lang.String defaultValue)
Retrieves the first match for the specified key or the default value if there is no match and casts it to a String type.java.lang.Object
AbstractVariables. getVariable(java.lang.String key)
Retrieves the first match for the specified key or null if there is no match.java.lang.Object
TypableVariable. getVariable(java.lang.String key)
Retrieves the first match for the specified key or null if there is no match found.java.lang.Object
AbstractVariables. replaceReferences(java.lang.Object value)
key
defaults to null.static java.lang.Object
AbstractVariables. replaceReferences(java.lang.String key, java.lang.Object value, java.util.function.Function<java.lang.String,java.lang.Object> getter)
Replaces any references for the input object if possible.
-