public class BranchV3Facade extends Object implements BranchFacade
| Constructor and Description |
|---|
BranchV3Facade(net.nemerosa.ontrack.dsl.Branch branch) |
| 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
|
public Object getDSLRoot()
BranchFacadegetDSLRoot in interface BranchFacadepublic List<BuildFacade> standardFilter(Map<String,?> filter)
BranchFacadestandardFilter in interface BranchFacadefilter - Filter to usepublic List<BuildFacade> getLastPromotedBuilds()
BranchFacadegetLastPromotedBuilds in interface BranchFacadepublic List<BuildFacade> intervalFilter(Map<String,?> filter)
BranchFacadeintervalFilter in interface BranchFacadefilter - Interval filterpublic BuildFacade build(String name, String description, boolean getIfExists)
BranchFacadebuild in interface BranchFacadename - Name of the builddescription - Description of the buildgetIfExists - If true, gets the build if it exists already, otherwise fails.Copyright © 2016–2023. All rights reserved.