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

ResourceExistsCondition

Table of contents
No headers

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

Class

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

Properties

<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" />
    </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