-
Notifications
You must be signed in to change notification settings - Fork 0
Measure Properties
Antonin Abherve edited this page Feb 16, 2017
·
2 revisions
Measure properties allow to parametrise the execution of an SMM Measure. When a measure is registred on Measure Platform, this propertys are defined during during the creation of measure instance.
Propertys are defined in the MetaData.xml file. The are identify by her name.
<scopeProperties defaultValue="0" name="MinRange">
<description>Min range of RandomGenerator</description>
</scopeProperties>
<scopeProperties defaultValue="100" name="MaxRange">
<description>Max range of RandomGenerator</description>
</scopeProperties>
- Retrive property
String maxRange = getProperty("MaxRange");
- Update Property : a measure can update the value of a property. The next executionof this measure will accexx to this updated value.
getProperties().put("LastUpdate",new Long(new Date().getTime()).toString());