com.soasta.jenkins
Class CloudTestServer

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<CloudTestServer>
      extended by com.soasta.jenkins.CloudTestServer
All Implemented Interfaces:
hudson.model.Describable<CloudTestServer>

public class CloudTestServer
extends hudson.model.AbstractDescribableImpl<CloudTestServer>

Information about a specific CloudTest Server and access credential.

Author:
Kohsuke Kawaguchi

Nested Class Summary
static class CloudTestServer.DescriptorImpl
           
 
Constructor Summary
CloudTestServer(String url, String username, hudson.util.Secret password)
           
 
Method Summary
static CloudTestServer get(String url)
           
 hudson.util.VersionNumber getBuildNumber()
          Retrieves the build number of this CloudTest server.
 hudson.util.Secret getPassword()
           
 URL getUrl()
           
 String getUsername()
           
 hudson.util.FormValidation validate()
           
 
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloudTestServer

@DataBoundConstructor
public CloudTestServer(String url,
                                            String username,
                                            hudson.util.Secret password)
                throws MalformedURLException
Throws:
MalformedURLException
Method Detail

getUrl

public URL getUrl()

getUsername

public String getUsername()

getPassword

public hudson.util.Secret getPassword()

validate

public hudson.util.FormValidation validate()
                                    throws IOException
Throws:
IOException

getBuildNumber

public hudson.util.VersionNumber getBuildNumber()
                                         throws IOException
Retrieves the build number of this CloudTest server.

Throws:
IOException

get

public static CloudTestServer get(String url)


Copyright © 2004-2013. All Rights Reserved.