Consumption Analytics Documentation

Home > Documentation for older versions > Cloud Cruiser 3 > Batch XML Reference > Transform processors > CreateIdentifierFromConstant


Table of contents
No headers

Creates a new identifier from a constant value.


<bean class="com.cloudcruiser.batch.transform.CreateIdentifierFromConstant">


<property name="overwrite" value="true" />

Sets the overwrite.

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

Sets the target resource.

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

Sets the constant value.

<property name="useBeginState" value="true" />

Invoked after initial population by the bean factory to assert state is valid. Asserts constantValue is not null.

Spring Batch XML Example

<batch:step id="transform" next="charge">
    <bean class="com.cloudcruiser.batch.CCRecordTransformTasklet">
      <property name="processors">
          <bean class="com.cloudcruiser.batch.transform.CreateIdentifierFromConstant">
            <property name="targetIdentifier" value="HostVM" />
            <property name="constantValue" value="VM1" />
            <property name="active" value="true" />
            <property name="overwrite" value="false" />
Last modified


This page has no custom tags.


This page has no classifications.

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