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

uk.co.codera.ci.tooling.jenkins.JenkinsConnectionDetails Maven / Gradle / Ivy

There is a newer version: 0.2.4
Show newest version
package uk.co.codera.ci.tooling.jenkins;

public class JenkinsConnectionDetails {

    private final String serverUrl;

    private JenkinsConnectionDetails(Builder builder) {
        this.serverUrl = builder.serverUrl;
    }

    public static Builder aJenkinsConfiguration() {
        return new Builder();
    }

    public String getServerUrl() {
        return this.serverUrl;
    }

    public static class Builder {

        private String serverUrl;

        private Builder() {
            super();
        }

        public Builder serverUrl(String serverUrl) {
            this.serverUrl = serverUrl;
            return this;
        }

        public JenkinsConnectionDetails build() {
            return new JenkinsConnectionDetails(this);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy