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, String id, String name)
           
 
Method Summary
 hudson.util.VersionNumber getBuildNumber()
          Retrieves the build number of this CloudTest server.
static CloudTestServer getByID(String id)
           
static CloudTestServer getByURL(String url)
           
 String getId()
           
 String getName()
           
 hudson.util.Secret getPassword()
           
 URL getUrl()
           
 String getUsername()
           
 Object readResolve()
           
 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,
                                            String id,
                                            String name)
                throws MalformedURLException
Throws:
MalformedURLException
Method Detail

getUrl

public URL getUrl()

getUsername

public String getUsername()

getPassword

public hudson.util.Secret getPassword()

getId

public String getId()

getName

public String getName()

readResolve

public Object readResolve()
                   throws IOException
Throws:
IOException

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. Postcondition: The build number returned is never null.

Throws:
IOException

getByURL

public static CloudTestServer getByURL(String url)

getByID

public static CloudTestServer getByID(String id)


Copyright © 2004-2014. All Rights Reserved.