Cloud Cruiser became HPE Consumption Analytics on Nov. 1, 2018. You'll still see the old name in places while we update this site.



Consumption Analytics Documentation

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


Table of contents
No headers

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


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


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

Specifies that the processor only processes records if the resource name appears in a record.

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