Home > Cloud Cruiser 3 > Batch XML Reference > Filters > ResourceHasRateCondition

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.

Class

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

Properties

<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" />
    </bean>
  </property>
  <property name="targetResource" value="CSMDisk" />
  <property name="expression" value="CSMDisk * DiskGB" />
</bean>
Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.
© Copyright 2018 Hewlett Packard Enterprise Development LP