Consumption Analytics Documentation

Home > Documentation for older versions > Cloud Cruiser 3 > Batch XML Reference > Filters > ResourceHasRateCondition


Table of contents
No headers

Filter condition that checks for the existence of a passthrough rate on a particular resource. The evaluation is case sensitive.


<bean class=”com.cloudcruiser.batch.filter.ResourceHasRateCondition”>


<property name="resourceId "value="resourceId
" />

Specifies that the processor only processes records if a resource exists that has a passthrough rate.

Spring Batch XML Example

<bean class="com.cloudcruiser.batch.transform.CalculateResource">
  <property name="active" value="true" />
  <property name="filter">
    <bean class="com.cloudcruiser.batch.filter.ResourceHasRateCondition">
      <property name="resourceId" value="CSMDisk" />
  <property name="targetResource" value="CSMDisk" />
  <property name="expression" value="CSMDisk * DiskGB" />
Last modified


This page has no custom tags.


This page has no classifications.

 (c) Copyright 2017-2020 Hewlett Packard Enterprise Development LP