public interface BuildGroup
Modifier and Type | Method and Description |
---|---|
boolean |
buildMapExists(java.lang.String buildFile)
Check whether a build map for the provided buildFile exists within this
build group
|
boolean |
buildResultExists(java.lang.String label)
Check whether a build result exists
|
boolean |
collectionExists(java.lang.String name)
Check whether a collection exists within this build group
|
Collection |
copyCollection(Collection collection,
java.lang.String newName)
Copy a collection to this build group
|
Collection |
copyCollection(java.lang.String name,
java.lang.String newName)
Copy a collection within this build group
|
BuildMap |
createBuildMap(java.lang.String buildFile)
Create a build map
|
BuildMap |
createBuildMap(java.lang.String buildFile,
java.lang.String result,
java.lang.String description)
Create a build map within this build group
|
BuildMap |
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 group
|
BuildResult |
createBuildResult(java.lang.String label)
Create a build result
|
BuildResult |
createBuildResult(java.lang.String label,
java.lang.String owner,
java.lang.String team,
int permission)
Create a build result
|
Collection |
createCollection(java.lang.String name)
Create a collection with the specified name
|
Collection |
createCollection(java.lang.String name,
java.lang.String owner,
java.lang.String team,
int permission)
Create a collection with the specified attributes
|
void |
deleteBuildMap(BuildMap buildMap)
Delete a build map
|
void |
deleteBuildMap(java.lang.String buildFile)
Delete a build map
|
void |
deleteBuildMaps()
Delete all build maps in the build group
|
void |
deleteBuildResult(BuildResult buildResult)
Delete a build result from this build group
|
void |
deleteBuildResult(java.lang.String label)
Delete a build result from this build group
|
void |
deleteBuildResults()
Delete all build results from this build group
|
void |
deleteCollection(Collection collection)
Delete a collection
|
void |
deleteCollection(java.lang.String name)
Delete a collection
|
void |
deleteCollections()
Delete all collections in a build group
|
boolean |
equals(java.lang.Object obj)
UTILITY METHODS
|
java.util.List<BuildMap> |
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.
|
BuildMap |
getBuildMap(java.lang.String buildFile)
Get a build map
|
java.util.List<BuildMap> |
getBuildMaps()
Get all build maps within this build group
|
BuildResult |
getBuildResult(java.lang.String label)
Get a build result by the provided label
|
java.util.List<java.lang.String> |
getBuildResultLabels()
Get all build result labels within this BuildGroup
|
java.util.List<BuildResult> |
getBuildResults()
Get all build results within this BuildGroup
|
java.util.List<BuildResult> |
getBuildResults(int state,
int status)
Get all build results which have the specifed state and status
|
Collection |
getCollection(java.lang.String name)
Get a collection by name
|
java.util.List<Collection> |
getCollections()
Get all collections within this build group
|
java.util.List<Collection> |
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.
|
BuildResult |
getLastBuildResult(int state,
int status)
Get the most recent build result which have the specifed state and status
|
java.lang.String |
getName() |
BuildResult createBuildResult(java.lang.String label) throws BuildException
label
- the label. Must be unique within this build groupBuildException
BuildResult createBuildResult(java.lang.String label, java.lang.String owner, java.lang.String team, int permission) throws BuildException
label
- the label of the build result. Must be unique within this build groupowner
- team
- permission
- BuildException
boolean buildResultExists(java.lang.String label) throws BuildException
label
- the label of the build resultBuildException
BuildResult getBuildResult(java.lang.String label) throws BuildException
label
- the label of the build resultBuildException
java.util.List<BuildResult> getBuildResults() throws BuildException
BuildException
java.util.List<java.lang.String> getBuildResultLabels() throws BuildException
BuildException
java.util.List<BuildResult> getBuildResults(int state, int status) throws BuildException
state
- status
- BuildException
BuildResult getLastBuildResult(int state, int status) throws BuildException
state
- status
- BuildException
void deleteBuildResult(java.lang.String label) throws BuildException
label
- the label of the result to deleteBuildException
void deleteBuildResults() throws BuildException
BuildException
void deleteBuildResult(BuildResult buildResult) throws BuildException
buildResult
- the BuildResult to be deletedBuildException
Collection createCollection(java.lang.String name) throws BuildException
name
- desired name for the collection. Must be unique within this build groupBuildException
Collection createCollection(java.lang.String name, java.lang.String owner, java.lang.String team, int permission) throws BuildException
name
- desired name for the collection. Must be unique within this build groupowner
- the owner of the collectionteam
- permission
- BuildException
boolean collectionExists(java.lang.String name) throws BuildException
BuildException
java.util.List<Collection> getCollections() throws BuildException
BuildException
Collection getCollection(java.lang.String name) throws BuildException
name
- the name of the collection to getBuildException
Collection copyCollection(java.lang.String name, java.lang.String newName) throws BuildException
name
- the name of the collection to copynewName
- the desired name of the new collection. Must be uniqueBuildException
Collection copyCollection(Collection collection, java.lang.String newName) throws BuildException
collection
- the Collection to be copiednewName
- the desired name of the new collection. Must be uniqueBuildException
void deleteCollection(java.lang.String name) throws BuildException
name
- the name of the collection to deleteBuildException
void deleteCollection(Collection collection) throws BuildException
collection
- the Collection to deleteBuildException
void deleteCollections() throws BuildException
name
- the name of the collection to deleteBuildException
BuildMap createBuildMap(java.lang.String buildFile) throws BuildException
buildFile
- the file path which this build map will describeBuildException
BuildMap createBuildMap(java.lang.String buildFile, java.lang.String result, java.lang.String description) throws BuildException
buildFile
- the file path which this build map will describeresult
- the result of the build of this programdescription
- user-customizable description fieldBuildException
BuildMap createBuildMap(java.lang.String buildFile, java.lang.String result, java.lang.String description, java.lang.String owner, java.lang.String team, int permission) throws BuildException
buildFile
- the file path which this build map will describeresult
- the result of the build of this programdescription
- user-customizable description fieldowner
- team
- permission
- BuildException
boolean buildMapExists(java.lang.String buildFile) throws BuildException
buildFile
- the file of the build mapBuildException
BuildMap getBuildMap(java.lang.String buildFile) throws BuildException
buildFile
- the file of the build mapBuildException
java.util.List<BuildMap> getBuildMaps() throws BuildException
BuildException
java.util.List<BuildMap> findBuildMaps(java.lang.String member, java.lang.String dataset, java.lang.String path, java.lang.String deployType) throws BuildException
member
- - the Output's memberdataset
- - the Output's datasetpath
- - the Output's pathdeployType
- - the Output's deployTypeBuildException
void deleteBuildMap(java.lang.String buildFile) throws BuildException
buildFile
- the build-file path of the build map to deleteBuildException
void deleteBuildMap(BuildMap buildMap) throws BuildException
buildMap
- the BuildMap to deleteBuildException
void deleteBuildMaps() throws BuildException
buildMap
- the BuildMap to deleteBuildException
java.lang.String getName()
boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
java.util.List<Collection> getImpactedFiles(java.util.List<java.lang.String> collections, java.util.List<LogicalDependency> lds) throws BuildException
collections
- List of collections to searchlds
- List of dependenciesMetadataStore.getCollection(String)
.BuildException
<IBM Copyright © 2018 IBM Corp. All Rights Reserved.