Package com.imc.iss.groovy.threekit
Class ThreeKitConfig
java.lang.Object
com.imc.iss.groovy.threekit.ThreeKitConfig
This is a class representing an ThreeKitConfig for use by groovy scripts
Inside the script, an instance of this class, containing the data of the ThreeKit Config that the script will be run on, will be provided automatically and can be accessed as a variable named threeKitConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the AssetId.Retrieves the ProductId.Retrieves the list of ThreeKit attributes.Retrieves the ThreeKit Auth Token.Retrieves the Map of Threekit Custom Attributes.Retrieves the ThreeKitURL.booleanvoidsetAssetId(String assetId) sets the AssetId for the ThreeKit ConfigvoidsetProductId(String productId) sets the productId for the ThreeKit ConfigvoidsetThreekitAttributeList(List<String> threekitAttributeList) sets the ThreeKit attributes for the ThreeKit ConfigvoidsetThreeKitAuthToken(String threeKitAuthToken) sets the threeKitAuthToken for the ThreeKit ConfigvoidsetThreekitCustomAttributes(Map<String, Object> threekitCustomAttributes) sets the threekit Custom Attributes for the ThreeKit ConfigvoidsetThreeKitEnabled(boolean isThreeKitEnabled) sets the isThreeKitEnabled boolean to enable the ThreeKit ConfigvoidsetThreeKitURL(String threeKitURL) sets the threeKitURL for the ThreeKit ConfigResourcetoResource(ThreeKitConfig threeKitConfig)
-
Constructor Details
-
ThreeKitConfig
public ThreeKitConfig()
-
-
Method Details
-
getAssetId
Retrieves the AssetId.- Returns:
- The AssetId as String.
-
getProductId
Retrieves the ProductId.- Returns:
- The ProductId as String.
-
getThreekitAttributeList
Retrieves the list of ThreeKit attributes.- Returns:
- The list of ThreeKit attributes.
-
getThreeKitAuthToken
Retrieves the ThreeKit Auth Token.- Returns:
- The ThreeKit Auth Token as String.
-
getThreekitCustomAttributes
Retrieves the Map of Threekit Custom Attributes.- Returns:
- The Map of Threekit Custom Attributes.
-
getThreeKitURL
Retrieves the ThreeKitURL.- Returns:
- The ThreeKitURL as String.
-
isThreeKitEnabled
public boolean isThreeKitEnabled() -
setAssetId
sets the AssetId for the ThreeKit Config- Parameters:
assetId- as String.
-
setProductId
sets the productId for the ThreeKit Config- Parameters:
productId- as String.
-
setThreekitAttributeList
sets the ThreeKit attributes for the ThreeKit Config- Parameters:
threekitAttributeList- as List.
-
setThreeKitAuthToken
sets the threeKitAuthToken for the ThreeKit Config- Parameters:
threeKitAuthToken- as String.
-
setThreekitCustomAttributes
sets the threekit Custom Attributes for the ThreeKit Config- Parameters:
threekitCustomAttributes- as Map<String, Object>.
-
setThreeKitEnabled
public void setThreeKitEnabled(boolean isThreeKitEnabled) sets the isThreeKitEnabled boolean to enable the ThreeKit Config- Parameters:
isThreeKitEnabled- as Boolean.
-
setThreeKitURL
sets the threeKitURL for the ThreeKit Config- Parameters:
threeKitURL- as String.
-
toResource
-