public final class VerificationScriptResource
extends java.lang.Object
Created by Natasha Garner on 02/08/2017.
Modifier and Type | Method and Description |
---|---|
static VerificationScriptResource |
createVerificationScriptResourceWithoutParameters(java.lang.String vendorKey,
java.net.URL resourceUrl)
Create new verification script resource instance which does not require any vendor specific
verification parameters.
|
static VerificationScriptResource |
createVerificationScriptResourceWithoutParameters(java.net.URL resourceUrl)
Create new verification script resource instance which does not require any vendor specific
verification parameters.
|
static VerificationScriptResource |
createVerificationScriptResourceWithParameters(java.lang.String vendorKey,
java.net.URL resourceUrl,
java.lang.String verificationParameters)
Create new verification script resource instance which requires vendor specific verification
parameters.
|
java.net.URL |
getResourceUrl() |
java.lang.String |
getVendorKey() |
java.lang.String |
getVerificationParameters() |
public static VerificationScriptResource createVerificationScriptResourceWithParameters(java.lang.String vendorKey, java.net.URL resourceUrl, java.lang.String verificationParameters)
vendorKey
- used to uniquely identify the verification provider.resourceUrl
- to be injected into the OMID managed JavaScript execution
environment.verificationParameters
- which the verification provider script is expecting for the ad
session.java.lang.IllegalArgumentException
- if any of the parameters are either null or blank.public static VerificationScriptResource createVerificationScriptResourceWithoutParameters(java.lang.String vendorKey, java.net.URL resourceUrl)
vendorKey
- used to uniquely identify the verification provider.resourceUrl
- to be injected into the OMID managed JavaScript execution environment.java.lang.IllegalArgumentException
- if any of the parameters are either null or blank.public static VerificationScriptResource createVerificationScriptResourceWithoutParameters(java.net.URL resourceUrl)
resourceUrl
- to be injected into the OMID managed JavaScript execution environment.java.lang.IllegalArgumentException
- if any of the parameters are either null or blank.public java.lang.String getVendorKey()
public java.net.URL getResourceUrl()
public java.lang.String getVerificationParameters()