com.atlassian.bamboo.specs.api.builders.owner.PlanOwner Maven / Gradle / Ivy
package com.atlassian.bamboo.specs.api.builders.owner;
import com.atlassian.bamboo.specs.api.builders.plan.configuration.PluginConfiguration;
import com.atlassian.bamboo.specs.api.model.owner.PlanOwnerProperties;
import com.atlassian.bamboo.specs.api.model.plan.configuration.PluginConfigurationProperties;
/**
* Define owner of the plan in question.
* @author mkleint
*/
public class PlanOwner extends PluginConfiguration {
private String owner;
public PlanOwner() {
}
public PlanOwner(String owner) {
this.owner = owner;
}
public PlanOwner owner(String owner) {
this.owner = owner;
return this;
}
@Override
protected PluginConfigurationProperties build() {
return new PlanOwnerProperties(owner);
}
}