public interface AndroidDeviceRegister
AndroidDevice and related AndroidDeviceMetadata together.| Modifier and Type | Method and Description |
|---|---|
void |
addDeploymentForDevice(AndroidDevice device,
String deploymentName) |
boolean |
contains(AndroidDevice androidDevice) |
AndroidDevice |
getByContainerQualifier(String containerQualifier) |
AndroidDevice |
getByDeploymentName(String deploymentName) |
AndroidDeviceMetadata |
getMetadata(AndroidDevice androidDevice)
Gets
AndroidDeviceMetadata for given AndroidDevice. |
AndroidDevice |
getSingle() |
void |
put(AndroidDevice androidDevice,
AndroidDeviceMetadata androidDeviceMetaData)
Puts
AndroidDevice and related AndroidDeviceMetadata to register. |
void |
remove(AndroidDevice device) |
void |
removeByContainerQualifier(String containerQualifier) |
int |
size() |
void put(AndroidDevice androidDevice, AndroidDeviceMetadata androidDeviceMetaData)
AndroidDevice and related AndroidDeviceMetadata to register.androidDevice - device to putandroidDeviceMetaData - metadata to putAndroidDeviceMetadata getMetadata(AndroidDevice androidDevice)
AndroidDeviceMetadata for given AndroidDevice.androidDevice - AndroidDevice to get AndroidDeviceMetadata forandroidDeviceboolean contains(AndroidDevice androidDevice)
androidDevice - AndroidDevice to test the presence ofandroidDevice, false otherwisevoid remove(AndroidDevice device)
device - device to remove from register, it deletes related metadata as wellvoid removeByContainerQualifier(String containerQualifier)
containerQualifier - container qualifier of AndroidDevice to remove, it deletes related metadata as wellvoid addDeploymentForDevice(AndroidDevice device, String deploymentName)
device - device to add a deployment todeploymentName - deployment name to addAndroidDevice getByContainerQualifier(String containerQualifier)
containerQualifier - container qualifier to get an AndroidDevice ofAndroidDevice by given containerQualifierAndroidDevice getByDeploymentName(String deploymentName)
deploymentName - name from deployment method to get AndroidDevice of which is logically bound to itAndroidDevice which is logically bound to that deploymentNameAndroidDevice getSingle() throws IllegalStateException
AndroidDeviceIllegalStateException - in case there is more then one AndroidDevice to get.int size()
Copyright © 2015 JBoss by Red Hat. All rights reserved.