All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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;

/**
 * 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 PlanOwnerProperties build() {
        return new PlanOwnerProperties(owner);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy