public class MediaScriptOperandValueProvider extends java.lang.Object implements CollectionOperandValueProvider<BTGMediaScriptOperandModel>
| Constructor and Description |
|---|
MediaScriptOperandValueProvider() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class |
getAtomicValueType(BTGMediaScriptOperandModel operand)
Returns the type of the collection element if BTGOperandModel represents a collection of values.
|
java.lang.Object |
getValue(BTGMediaScriptOperandModel operand,
UserModel user,
BTGConditionEvaluationScope evaluationScope)
Retrieves the concrete value from a
BTGOperandModel. |
java.lang.Class |
getValueType(BTGMediaScriptOperandModel operand)
Retrieves the value-type from a
BTGOperandModel. |
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
setMediaService(MediaService mediaService) |
public java.lang.Class getAtomicValueType(BTGMediaScriptOperandModel operand)
CollectionOperandValueProvidergetAtomicValueType in interface CollectionOperandValueProvider<BTGMediaScriptOperandModel>public java.lang.Object getValue(BTGMediaScriptOperandModel operand, UserModel user, BTGConditionEvaluationScope evaluationScope)
OperandValueProviderBTGOperandModel.getValue in interface OperandValueProvider<BTGMediaScriptOperandModel>operand - BTGOperandModel which is asked for it's valueevaluationScope - YTODOpublic java.lang.Class getValueType(BTGMediaScriptOperandModel operand)
OperandValueProviderBTGOperandModel.
The type is always assignable to the value-type returned by
OperandValueProvider.getValue(BTGOperandModel, UserModel, BTGConditionEvaluationScope).BTGOperandModel which is asked for it's typegetValueType in interface OperandValueProvider<BTGMediaScriptOperandModel>public void setMediaService(MediaService mediaService)
mediaService - the mediaService to setpublic void setApplicationContext(ApplicationContext applicationContext)
throws BeansException
BeansExceptionCopyright © 2018 SAP SE. All Rights Reserved.