org.jenkinsci.plugins.ios.connector
Class iOSDeviceList

java.lang.Object
  extended by org.jenkinsci.plugins.ios.connector.iOSDeviceList
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Action, hudson.model.ModelObject, hudson.model.RootAction

@Extension
public class iOSDeviceList
extends Object
implements hudson.model.RootAction, hudson.model.ModelObject

Maintains the list of iOS Devices connected to all the slaves.

Author:
Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static hudson.security.Permission DEPLOY
           
static hudson.security.PermissionGroup GROUP
           
static hudson.security.Permission READ
           
 
Constructor Summary
iOSDeviceList()
           
 
Method Summary
 org.kohsuke.stapler.HttpResponse doRefresh()
           
 iOSDevice getDevice(String udid)
           
 com.google.common.collect.Multimap<hudson.model.Computer,iOSDevice> getDevices()
          List of all the devices.
 String getDisplayName()
           
 iOSDevice getDynamic(String token)
          Maps iOSDevice to URL space.
 String getIconFileName()
           
 String getUrlName()
           
 void remove(hudson.model.Computer c)
           
 void update(hudson.model.Computer c, hudson.model.TaskListener listener)
           
 void updateAll(hudson.model.TaskListener listener)
          Refresh all slaves in concurrently.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GROUP

public static final hudson.security.PermissionGroup GROUP

READ

public static final hudson.security.Permission READ

DEPLOY

public static final hudson.security.Permission DEPLOY
Constructor Detail

iOSDeviceList

public iOSDeviceList()
Method Detail

getDevices

public com.google.common.collect.Multimap<hudson.model.Computer,iOSDevice> getDevices()
List of all the devices.


updateAll

public void updateAll(hudson.model.TaskListener listener)
Refresh all slaves in concurrently.


update

public void update(hudson.model.Computer c,
                   hudson.model.TaskListener listener)

remove

public void remove(hudson.model.Computer c)

getIconFileName

public String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action

getDisplayName

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

getUrlName

public String getUrlName()
Specified by:
getUrlName in interface hudson.model.Action

doRefresh

public org.kohsuke.stapler.HttpResponse doRefresh()

getDynamic

public iOSDevice getDynamic(String token)
Maps iOSDevice to URL space.


getDevice

public iOSDevice getDevice(String udid)


Copyright © 2004-2012. All Rights Reserved.