name | A name, can be any text. |
stop | This flag is set by the stop method and should be examined by any Stoppable jobs in their processing loops. |
values | The thing to set on the property that is given by the key of this mapped property. |
Example 1 | Setting lots of properties. |
Configured By | ATTRIBUTE |
Access | READ_WRITE |
Required | No. |
A name, can be any text.
Access | READ_ONLY |
Required | Read Only. |
This flag is set by the stop method and should be examined by any Stoppable jobs in their processing loops.
Configured By | ELEMENT |
Access | WRITE_ONLY |
Required | No, but pointless if not provided. |
The thing to set on the property that is given by the key of this mapped property.
Setting lots of properties.
<oddjob> <job> <sequential> <jobs> <set> <values> <value key="check.checkBoolean" value="true"/> <value key="check.checkByte" value="127"/> <value key="check.checkChar" value="a"/> <date key="check.checkDate" date="2005-12-25" timeZone="GMT"/> <value key="check.checkDouble" value="9E99"/> <value key="check.checkFloat" value="1.23"/> <value key="check.checkInt" value="1234567"/> <value key="check.checkLong" value="2345678"/> <value key="check.checkShort" value="123"/> <value key="check.checkString" value="hello"/> </values> </set> <bean id="check" class="org.oddjob.values.CheckBasicSetters"/> </jobs> </sequential> </job> </oddjob>
This is the configuration for one of the tests.