Class BbCloudBranch
- java.lang.Object
-
- io.jenkins.blueocean.blueocean_bitbucket_pipeline.model.BbBranch
-
- io.jenkins.blueocean.blueocean_bitbucket_pipeline.cloud.model.BbCloudBranch
-
public class BbCloudBranch extends BbBranch
- Author:
- Vivek Pandey
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BbCloudBranch.Target
-
Constructor Summary
Constructors Constructor Description BbCloudBranch(String name, BbCloudBranch.Target target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayId()
String
getLatestCommit()
boolean
isDefault()
-
-
-
Constructor Detail
-
BbCloudBranch
public BbCloudBranch(@NonNull String name, @NonNull BbCloudBranch.Target target)
-
-
Method Detail
-
getLatestCommit
public String getLatestCommit()
- Specified by:
getLatestCommit
in classBbBranch
- Returns:
- latest commit id
-
isDefault
public boolean isDefault()
-
getDisplayId
public String getDisplayId()
- Specified by:
getDisplayId
in classBbBranch
- Returns:
- Branch display identifier
-
-