Example usage for com.amazonaws.services.devicefarm.model Location setLongitude

List of usage examples for com.amazonaws.services.devicefarm.model Location setLongitude

Introduction

In this page you can find the example usage for com.amazonaws.services.devicefarm.model Location setLongitude.

Prototype


public void setLongitude(Double longitude) 

Source Link

Document

The longitude.

Usage

From source file:org.jenkinsci.plugins.awsdevicefarm.AWSDeviceFarmRecorder.java

License:Open Source License

private Location getScheduleRunConfigurationLocation(Boolean deviceLocation) {
    Location location = new Location();
    if (deviceLocation != null && deviceLocation) {
        location.setLatitude(deviceLatitude);
        location.setLongitude(deviceLongitude);
    } else {//from  w  w  w . j av a 2  s .  c  om
        location.setLatitude(47.6204);
        location.setLongitude(-122.3491);
    }
    return location;
}