Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright 2005-2014 Red Hat, Inc. Red Hat licenses this file to you under the Apache License, version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
 
 package io.fabric8.openshift;
 
 
 import java.net.URI;
 import java.util.List;
 import java.util.Map;
 import java.util.Set;
 
     private static final long serialVersionUID = 4489740280396972109L;
 
     public static String OPENSHIFT_BROKER_HOST = "OPENSHIFT_BROKER_HOST";
     public static String OPENSHIFT_NAMESPACE = "OPENSHIFT_NAMESPACE";
 
 
     public static class Builder extends CreateContainerBasicOptions.Builder<Builder> {
         @JsonProperty
         private String serverUrl = System.getenv();
         @JsonProperty
         private String login;
         @JsonProperty
         private String password;
         @JsonProperty
         private String domain = System.getenv();
         @JsonProperty
         private String gearProfile = "small";
         @JsonProperty
         private Map<StringStringenvironmentalVariables = new HashMap<StringString>();
         @JsonProperty
         private List<StringfallbackRepositories = new ArrayList<String>();
 
         public Builder serverUrl(final String serverUrl) {
             this. = serverUrl;
             return this;
         }
 
         public Builder login(final String login) {
             this. = login;
             return this;
         }
 
         public Builder password(final String password) {
             this. = password;
             return this;
         }
 
         public Builder domain(final String domain) {
             this. = domain;
             return this;
         }
 
         public Builder gearProfile(final String gearProfile) {
             this. = gearProfile;
             return this;
         }
 
 
         public Builder environmentalVariables(final Map<StringStringenvironmentalVariables) {
             this. = environmentalVariables;
             return this;
         }
 
         public Builder fallbackRepositories(final List<StringfallbackRepositories) {
             this. = fallbackRepositories;
             return this;
         }
 
 
         public String getServerUrl() {
             return ;
         }
 
         public void setServerUrl(String serverUrl) {
             this. = serverUrl;
         }
 
         public String getLogin() {
             return ;
        }
        public void setLogin(String login) {
            this. = login;
        }
        public String getPassword() {
            return ;
        }
        public void setPassword(String password) {
            this. = password;
        }
        public String getDomain() {
            return ;
        }
        public void setDomain(String domain) {
            this. = domain;
        }
        public Map<StringStringgetEnvironmentalVariables() {
            return ;
        }
        public void setEnvironmentalVariables(Map<StringStringenvironmentalVariables) {
            this. = environmentalVariables;
        }
        public List<StringgetFallbackRepositories() {
            return ;
        }
        public void setFallbackRepositories(List<StringfallbackRepositories) {
            this. = fallbackRepositories;
        }
        public CreateOpenshiftContainerOptions build() {
                    getImportPath(), getUsers(), getName(), getParent(), "openshift"isEnsembleServer(), getPreferredAddress(), getSystemProperties(),
                    getNumber(), getProxyUri(), getZookeeperUrl(), getJvmOpts(), isAdminAccess(), isClean(),
                    );
        }
    }
    public static Builder builder() {
        return new Builder();
    }
    private final String serverUrl;
    private final String login;
    private final String password;
    private final String domain;
    private final String gearProfile;
    private final Map<StringStringenvironmentalVariables;
    private final List<StringfallbackRepositories;
    public CreateOpenshiftContainerOptions(String bindAddressString resolverString globalResolverString manualIpint minimumPortint maximumPortSet<StringprofilesString versionMap<StringStringdataStorePropertiesint zooKeeperServerPortint zooKeeperServerConnectionPortString zookeeperPasswordboolean ensembleStartboolean agentEnabledboolean autoImportEnabledString importPathMap<StringStringusersString nameString parentString providerTypeboolean ensembleServerString preferredAddressMap<StringPropertiessystemPropertiesInteger numberURI proxyUriString zookeeperUrlString jvmOptsboolean adminAccessboolean cleanString serverUrlString loginString passwordString domainString gearProfileMap<StringStringenvironmentalVariablesList<StringfallbackRepositories) {
        super(bindAddressresolverglobalResolvermanualIpminimumPortmaximumPortprofilesversiondataStorePropertieszooKeeperServerPortzooKeeperServerConnectionPortzookeeperPasswordensembleStartagentEnabledfalse, 0, autoImportEnabledimportPathusersnameparentproviderTypeensembleServerpreferredAddresssystemPropertiesnumberproxyUrizookeeperUrljvmOptsadminAccessclean);
        this. = serverUrl;
        this. = login;
        this. = password;
        this. = domain;
        this. = gearProfile;
        this. = environmentalVariables;
        this. = fallbackRepositories;
    }
    @Override
    public CreateOpenshiftContainerOptions updateCredentials(String userString credential) {
                getImportPath(), getUsers(), getName(), getParent(), "openshift"isEnsembleServer(), getPreferredAddress(), getSystemProperties(),
                getNumber(), getProxyUri(), getZookeeperUrl(), getJvmOpts(), isAdminAccess(), isClean(),
                user);
    }
    public String getServerUrl() {
        return ;
    }
    public String getLogin() {
        return ;
    }
    public String getPassword() {
        return ;
    }
    public String getDomain() {
        return ;
    }
    public String getGearProfile() {
        return ;
    }
    @Override
    public String getHostNameContext() {
        return "openshift";
    }
    @Override
    public String getPath() {
        return "~/";
    }
    @Override
        return ;
    }
    @Override
    public Boolean doUploadDistribution() {
        return false;
    }
    public List<StringgetFallbackRepositories() {
        return ;
    }
New to GrepCode? Check out our FAQ X