com.clarolab.bamboo.entities.BambooProject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bamboo-rest-api-client Show documentation
Show all versions of bamboo-rest-api-client Show documentation
This library allows to extract information from projects, plans and builds on Bamboo
package com.clarolab.bamboo.entities;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
@ToString(callSuper = true)
@Getter
@Setter
public class BambooProject extends BambooBase {
private BambooPlans plans;
public int getTotalOfPlans(){
return plans.getSize();
}
public String getUrl(){
return getLink().getHref().replaceFirst("rest/api/.*/project", "browse");
}
}