org.jenkinsci.plugins.ios.connector
Class iOSDevice

java.lang.Object
  extended by org.jenkinsci.plugins.ios.connector.iOSDevice
All Implemented Interfaces:
hudson.model.ModelObject, Serializable

public class iOSDevice
extends Object
implements Serializable, hudson.model.ModelObject

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Constructor Summary
iOSDevice(Properties props)
           
 
Method Summary
 void deploy(File ipa, hudson.model.TaskListener listener)
          Deploys the *.ipa file to this device.
 org.kohsuke.stapler.HttpResponse doDoDeploy(org.kohsuke.stapler.StaplerRequest req)
           
 hudson.model.Computer getComputer()
           
 String getDeviceName()
          The name of the device that the user set when activating the device, such as "Kohsuke's iPhone"
 String getDisplayName()
           
 String getProductTypeDisplayName()
          Returns a human-readable name of the product type, such as "iPhone 3GS", etc.
 Properties getProps()
           
 String getUniqueDeviceId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

iOSDevice

public iOSDevice(Properties props)
Method Detail

getComputer

public hudson.model.Computer getComputer()

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.ModelObject

getDeviceName

public String getDeviceName()
The name of the device that the user set when activating the device, such as "Kohsuke's iPhone"


getUniqueDeviceId

public String getUniqueDeviceId()

getProps

public Properties getProps()

getProductTypeDisplayName

public String getProductTypeDisplayName()
Returns a human-readable name of the product type, such as "iPhone 3GS", etc.


deploy

public void deploy(File ipa,
                   hudson.model.TaskListener listener)
            throws IOException,
                   InterruptedException
Deploys the *.ipa file to this device.

Throws:
IOException
InterruptedException

doDoDeploy

public org.kohsuke.stapler.HttpResponse doDoDeploy(org.kohsuke.stapler.StaplerRequest req)
                                            throws IOException
Throws:
IOException


Copyright © 2004-2012. All Rights Reserved.