Home > Cloud Cruiser 3 > Batch XML Reference > Transform processors > CreateIdentifierFromConstant

CreateIdentifierFromConstant

Table of contents
No headers

Creates a new identifier from a constant value.

Class

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

Properties

<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">
  <batch:tasklet>
    <bean class="com.cloudcruiser.batch.CCRecordTransformTasklet">
      <property name="processors">
        <list>
          <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" />
          </bean>
        </list>
      </property>
    </bean>
  </batch:tasklet>
</batch:step>
Last modified

Tags

This page has no custom tags.

Classifications

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