\r\n

51Degrees Device Detection Java  4.4

Device detection services for 51Degrees Pipeline
  • fiftyone
  • devicedetection
  • examples
  • shared
  • KeyHelper

fiftyone.devicedetection.examples.shared.KeyHelper Class Reference

Collaboration diagram for fiftyone.devicedetection.examples.shared.KeyHelper:

[legend]

Static Public Member Functions

static String  getOrSetTestResourceKey ()
Obtain a resource key either from environment variable or from a property.
static String  getOrSetTestResourceKey (boolean shouldThrow)
static String  getOrSetTestResourceKey (String value, boolean shouldThrow)
static String  getOrSetTestResourceKey (String value)
static String  getOrSetResourceKey (String value, String variableName, String errorMessage, boolean shouldThrow)
Obtain a resource key from the passed argument, from environment variable or from a property. More...
static String  getOrSetSuperResourceKey (String value, String variablename)
static String  getOrSetSuperResourceKey (String value, String variablename, boolean shouldThrow)

Static Public Attributes

static final String  TEST_RESOURCE_KEY = "TestResourceKey"

Member Function Documentation

◆ getOrSetResourceKey()

static String fiftyone.devicedetection.examples.shared.KeyHelper.getOrSetResourceKey ( String   value,
String   variableName,
String   errorMessage,
boolean   shouldThrow  
)
static

Obtain a resource key from the passed argument, from environment variable or from a property.

Store as System Property TEST_RESOURCE_KEY

On This Page