public interface BranchFacade
Modifier and Type | Method and Description |
---|---|
BuildFacade |
build(String name,
String description,
boolean getIfExists)
Gets or creates a build for this branch
|
Object |
getDSLRoot()
Object to inject in any Ontrack DSL script
|
List<BuildFacade> |
getLastPromotedBuilds()
Gets the list of last promoted builds for this branch
|
List<BuildFacade> |
intervalFilter(Map<String,?> filter)
Gets an interval filter
|
List<BuildFacade> |
standardFilter(Map<String,?> filter)
Gets a list of builds for this branch using a filter
|
List<BuildFacade> standardFilter(Map<String,?> filter)
filter
- Filter to useList<BuildFacade> getLastPromotedBuilds()
List<BuildFacade> intervalFilter(Map<String,?> filter)
filter
- Interval filterBuildFacade build(String name, String description, boolean getIfExists)
name
- Name of the builddescription
- Description of the buildgetIfExists
- If true
, gets the build if it exists already, otherwise fails.Object getDSLRoot()
Copyright © 2016–2023. All rights reserved.