This JavaBean is used as input to the HelloWorld Tasklet. As a
JavaBean every property should have a public setter and getter method.
The input JavaBean comes into play in several ways:
- Its properties are used as input to the Tasklet when the
Tasklet is run in a Job. It is up to the Tasklet to choose
how to use it.
- Its properties can be edited manually using a GUI Customizer.
Even though this example does not have a Customizer a
defualt Customzier can be provided by the supporting Container
that allows simple editing of the input JavaBean properties.
- Its properties can be exposed so that other Tasklets within
the Job can set them.
If you don't want this property to be exposed to other
Tasklets within a Job, then define a BeanInfo for the input JavaBean that
only exposes the properties desired. Note that there is no BeanInfo
defined for this particular example.