public class BranchV4Facade extends Object implements BranchFacade
Constructor and Description |
---|
BranchV4Facade(net.nemerosa.ontrack.dsl.v4.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()
BranchFacade
getDSLRoot
in interface BranchFacade
public List<BuildFacade> standardFilter(Map<String,?> filter)
BranchFacade
standardFilter
in interface BranchFacade
filter
- Filter to usepublic List<BuildFacade> getLastPromotedBuilds()
BranchFacade
getLastPromotedBuilds
in interface BranchFacade
public List<BuildFacade> intervalFilter(Map<String,?> filter)
BranchFacade
intervalFilter
in interface BranchFacade
filter
- Interval filterpublic BuildFacade build(String name, String description, boolean getIfExists)
BranchFacade
build
in interface BranchFacade
name
- 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.