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

ResourceHasCostCondition

Table of contents
No headers

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

Class

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

Properties

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

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

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.ResourceHasCostCondition">
      <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