You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@batchee.apache.org by rm...@apache.org on 2013/11/05 08:38:53 UTC
[16/62] git commit: Importing JBatch Reference Implementation from
IBM. We'll fork it but this commit is to keep a track of what we forked.
Importing JBatch Reference Implementation from IBM. We'll fork it but this commit is to keep a track of what we forked.
Project: http://git-wip-us.apache.org/repos/asf/incubator-batchee/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-batchee/commit/f7740962
Tree: http://git-wip-us.apache.org/repos/asf/incubator-batchee/tree/f7740962
Diff: http://git-wip-us.apache.org/repos/asf/incubator-batchee/diff/f7740962
Branch: refs/heads/master
Commit: f77409622d4297f2a850841fb164422d58b5ff60
Parents:
Author: Romain Manni-Bucau <rm...@apache.org>
Authored: Tue Nov 5 07:58:50 2013 +0100
Committer: Romain Manni-Bucau <rm...@apache.org>
Committed: Tue Nov 5 07:58:50 2013 +0100
----------------------------------------------------------------------
JSR352.JobXML.Model/.project | 28 +
.../.settings/org.eclipse.jdt.core.prefs | 12 +
JSR352.JobXML.Model/META-INF/MANIFEST.MF | 11 +
JSR352.JobXML.Model/ant/build.xml | 134 ++
JSR352.JobXML.Model/build.properties | 7 +
.../com/ibm/jbatch/jsl/model/Analyzer.java | 103 +
.../com/ibm/jbatch/jsl/model/Batchlet.java | 114 +
.../jbatch/jsl/model/CheckpointAlgorithm.java | 103 +
.../jaxbgen/com/ibm/jbatch/jsl/model/Chunk.java | 430 ++++
.../com/ibm/jbatch/jsl/model/Collector.java | 103 +
.../com/ibm/jbatch/jsl/model/Decision.java | 217 ++
.../jaxbgen/com/ibm/jbatch/jsl/model/End.java | 115 +
.../jbatch/jsl/model/ExceptionClassFilter.java | 250 ++
.../jaxbgen/com/ibm/jbatch/jsl/model/Fail.java | 115 +
.../jaxbgen/com/ibm/jbatch/jsl/model/Flow.java | 245 ++
.../com/ibm/jbatch/jsl/model/ItemProcessor.java | 103 +
.../com/ibm/jbatch/jsl/model/ItemReader.java | 103 +
.../com/ibm/jbatch/jsl/model/ItemWriter.java | 103 +
.../com/ibm/jbatch/jsl/model/JSLJob.java | 273 +++
.../com/ibm/jbatch/jsl/model/JSLProperties.java | 127 +
.../com/ibm/jbatch/jsl/model/Listener.java | 103 +
.../com/ibm/jbatch/jsl/model/Listeners.java | 80 +
.../jaxbgen/com/ibm/jbatch/jsl/model/Next.java | 116 +
.../com/ibm/jbatch/jsl/model/ObjectFactory.java | 276 +++
.../com/ibm/jbatch/jsl/model/Partition.java | 194 ++
.../ibm/jbatch/jsl/model/PartitionMapper.java | 103 +
.../com/ibm/jbatch/jsl/model/PartitionPlan.java | 139 ++
.../ibm/jbatch/jsl/model/PartitionReducer.java | 103 +
.../com/ibm/jbatch/jsl/model/Property.java | 108 +
.../jaxbgen/com/ibm/jbatch/jsl/model/Split.java | 183 ++
.../jaxbgen/com/ibm/jbatch/jsl/model/Step.java | 407 ++++
.../jaxbgen/com/ibm/jbatch/jsl/model/Stop.java | 145 ++
.../com/ibm/jbatch/jsl/model/package-info.java | 9 +
JSR352.JobXML.Model/pom.xml | 62 +
.../ibm/jbatch/container/jsl/CloneUtility.java | 297 +++
.../jbatch/container/jsl/ExecutionElement.java | 37 +
.../jsl/IllegalTransitionException.java | 40 +
.../jbatch/container/jsl/JobModelResolver.java | 26 +
.../ibm/jbatch/container/jsl/ModelResolver.java | 29 +
.../container/jsl/ModelResolverFactory.java | 48 +
.../jbatch/container/jsl/ModelSerializer.java | 23 +
.../container/jsl/ModelSerializerFactory.java | 35 +
.../ibm/jbatch/container/jsl/Transition.java | 31 +
.../jbatch/container/jsl/TransitionElement.java | 36 +
.../jsl/impl/FlowModelResolverImpl.java | 39 +
.../jsl/impl/GlobPatternMatcherImpl.java | 291 +++
.../jsl/impl/JobModelResolverImpl.java | 262 +++
.../jsl/impl/JobModelSerializerImpl.java | 74 +
.../jsl/impl/SplitModelResolverImpl.java | 39 +
.../jsl/impl/StepModelResolverImpl.java | 130 ++
.../jsl/impl/StepModelSerializerImpl.java | 63 +
.../container/jsl/impl/TransitionImpl.java | 75 +
.../jsl/impl/UnmarshalledJSLComparator.java | 141 ++
.../modelresolver/PropertyResolver.java | 54 +
.../modelresolver/PropertyResolverFactory.java | 152 ++
.../impl/AbstractPropertyResolver.java | 408 ++++
.../impl/AnalyzerPropertyResolverImpl.java | 55 +
.../impl/BatchletPropertyResolverImpl.java | 46 +
...CheckpointAlgorithmPropertyResolverImpl.java | 47 +
.../impl/ChunkPropertyResolverImpl.java | 113 +
.../impl/CollectorPropertyResolverImpl.java | 55 +
.../ControlElementPropertyResolverImpl.java | 59 +
.../impl/DecisionPropertyResolverImpl.java | 54 +
.../ExceptionClassesPropertyResolverImpl.java | 72 +
.../impl/FlowPropertyResolverImpl.java | 59 +
.../impl/ItemProcessorPropertyResolverImpl.java | 48 +
.../impl/ItemReaderPropertyResolverImpl.java | 48 +
.../impl/ItemWriterPropertyResolverImpl.java | 46 +
.../impl/JobPropertyResolverImpl.java | 91 +
.../impl/ListenerPropertyResolverImpl.java | 44 +
.../PartitionMapperPropertyResolverImpl.java | 55 +
.../impl/PartitionPlanPropertyResolverImpl.java | 75 +
.../impl/PartitionPropertyResolverImpl.java | 71 +
.../PartitionReducerPropertyResolverImpl.java | 55 +
.../impl/SplitPropertyResolverImpl.java | 48 +
.../impl/StepPropertyResolverImpl.java | 85 +
.../java/com/ibm/jbatch/jsl/util/JSLLoader.java | 102 +
.../jsl/util/JSLValidationEventHandler.java | 59 +
.../jsl/util/PropertiesToStringHelper.java | 37 +
.../ibm/jbatch/jsl/util/ValidatorHelper.java | 47 +
.../src/main/resources/xsd/batchXML_1_0.xsd | 34 +
.../src/main/resources/xsd/jobXML_1_0.xjb | 68 +
.../src/main/resources/xsd/jobXML_1_0.xsd | 435 ++++
.../src/test/java/test/JobModelTest.java | 130 ++
.../test/java/test/PatternMatchingTests.java | 114 +
.../src/test/resources/emptyString.xml | 22 +
.../src/test/resources/invalid.job1.xml | 24 +
JSR352.JobXML.Model/src/test/resources/job1.xml | 22 +
.../BatchletExtraCode.java | 26 +
.../ChunkExtraCode.java | 36 +
.../DecisionExtraCode.java | 37 +
.../EndExtraCode.java | 24 +
.../FailExtraCode.java | 24 +
.../FlowExtraCode.java | 46 +
.../JSLJobExtraCode.java | 27 +
.../JSLPropertiesExtraCode.java | 32 +
.../NextExtraCode.java | 24 +
.../PropertyExtraCode.java | 24 +
.../SplitExtraCode.java | 43 +
.../StepExtraCode.java | 45 +
.../StopExtraCode.java | 24 +
.../_README.txt | 1 +
JSR352.RI.SPI/META-INF/MANIFEST.MF | 6 +
JSR352.RI.SPI/build.properties | 3 +
JSR352.RI.SPI/pom.xml | 68 +
.../src/com/ibm/jbatch/spi/BatchJobUtil.java | 42 +
.../src/com/ibm/jbatch/spi/BatchSPIManager.java | 158 ++
.../com/ibm/jbatch/spi/BatchSecurityHelper.java | 40 +
.../DatabaseAlreadyInitializedException.java | 40 +
.../jbatch/spi/DatabaseConfigurationBean.java | 75 +
.../ibm/jbatch/spi/ExecutorServiceProvider.java | 30 +
.../com/ibm/jbatch/spi/TaggedJobExecution.java | 27 +
.../src/com/ibm/jbatch/spi/package-info.java | 27 +
JSR352.Runtime/.project | 41 +
.../.settings/org.eclipse.jdt.core.prefs | 12 +
.../.settings/org.eclipse.wst.common.component | 7 +
...rg.eclipse.wst.common.project.facet.core.xml | 7 +
JSR352.Runtime/JSR352.Runtime.launch | 22 +
JSR352.Runtime/META-INF/MANIFEST.MF | 31 +
JSR352.Runtime/build.properties | 4 +
.../jee-properties/batch-config.properties | 30 +
.../jee-properties/batch-services.properties | 28 +
.../notShipped.SQLQueries/jsr352-queries.sql | 59 +
JSR352.Runtime/pom.xml | 132 ++
.../META-INF/services/batch-config.properties | 30 +
.../META-INF/services/batch-services.properties | 28 +
.../services/javax.batch.operations.JobOperator | 1 +
.../javax.enterprise.inject.spi.Extension | 1 +
JSR352.Runtime/resources/ddls/jsr352-db2.ddl | 75 +
JSR352.Runtime/resources/ddls/jsr352-derby.ddl | 60 +
.../resources/ddls/jsr352-ms-sqlserver.ddl | 70 +
JSR352.Runtime/resources/ddls/jsr352-mysql.ddl | 58 +
JSR352.Runtime/resources/ddls/jsr352-oracle.ddl | 90 +
.../resources/ddls/jsr352-postgresql.ddl | 66 +
.../resources/ddls/jsr352-sybase-ace.ddl | 69 +
.../META-INF/services/batch-config.properties | 18 +
.../META-INF/services/batch-services.properties | 17 +
.../com/ibm/jbatch/container/IController.java | 26 +
.../container/IExecutionElementController.java | 24 +
.../jbatch/container/IThreadRootController.java | 24 +
.../container/api/impl/JobOperatorImpl.java | 495 ++++
.../container/artifact/proxy/AbstractProxy.java | 56 +
.../container/artifact/proxy/BatchletProxy.java | 58 +
.../proxy/CheckpointAlgorithmProxy.java | 100 +
.../artifact/proxy/ChunkListenerProxy.java | 61 +
.../container/artifact/proxy/DeciderProxy.java | 40 +
.../artifact/proxy/InjectionReferences.java | 64 +
.../proxy/ItemProcessListenerProxy.java | 62 +
.../artifact/proxy/ItemProcessorProxy.java | 37 +
.../artifact/proxy/ItemReadListenerProxy.java | 62 +
.../artifact/proxy/ItemReaderProxy.java | 71 +
.../artifact/proxy/ItemWriteListenerProxy.java | 67 +
.../artifact/proxy/ItemWriterProxy.java | 75 +
.../artifact/proxy/JobListenerProxy.java | 48 +
.../artifact/proxy/ListenerFactory.java | 375 +++
.../artifact/proxy/PartitionAnalyzerProxy.java | 55 +
.../artifact/proxy/PartitionCollectorProxy.java | 44 +
.../artifact/proxy/PartitionMapperProxy.java | 43 +
.../artifact/proxy/PartitionReducerProxy.java | 76 +
.../container/artifact/proxy/ProxyFactory.java | 155 ++
.../proxy/RetryProcessListenerProxy.java | 39 +
.../artifact/proxy/RetryReadListenerProxy.java | 39 +
.../artifact/proxy/RetryWriteListenerProxy.java | 41 +
.../proxy/SkipProcessListenerProxy.java | 41 +
.../artifact/proxy/SkipReadListenerProxy.java | 40 +
.../artifact/proxy/SkipWriteListenerProxy.java | 42 +
.../artifact/proxy/StepListenerProxy.java | 52 +
.../callback/IJobEndCallbackService.java | 31 +
.../container/callback/JobEndCallback.java | 22 +
.../callback/JobEndCallbackManagerImpl.java | 165 ++
.../jbatch/container/callback/package-info.java | 25 +
.../cdi/BatchCDIInjectionExtension.java | 47 +
.../jbatch/container/cdi/BatchProducerBean.java | 102 +
.../container/context/impl/JobContextImpl.java | 153 ++
.../container/context/impl/MetricImpl.java | 49 +
.../container/context/impl/StepContextImpl.java | 183 ++
.../BatchContainerRuntimeException.java | 45 +
.../BatchContainerServiceException.java | 45 +
.../IllegalBatchPropertyException.java | 45 +
.../exception/PersistenceException.java | 45 +
.../TransactionManagementException.java | 46 +
.../container/impl/BaseStepControllerImpl.java | 470 ++++
.../jbatch/container/impl/BatchConfigImpl.java | 56 +
.../jbatch/container/impl/BatchKernelImpl.java | 459 ++++
.../impl/BatchletStepControllerImpl.java | 133 ++
.../ibm/jbatch/container/impl/ChunkHelper.java | 70 +
.../container/impl/ChunkStepControllerImpl.java | 1045 +++++++++
.../container/impl/DecisionControllerImpl.java | 126 +
.../impl/ExecutionElementControllerFactory.java | 98 +
.../container/impl/ExecutionTransitioner.java | 275 +++
.../container/impl/FlowControllerImpl.java | 96 +
.../FlowInSplitThreadRootControllerImpl.java | 53 +
.../container/impl/JobControllerImpl.java | 33 +
.../impl/JobThreadRootControllerImpl.java | 328 +++
.../impl/PartitionThreadRootControllerImpl.java | 34 +
.../container/impl/PartitionedStepBuilder.java | 188 ++
.../impl/PartitionedStepControllerImpl.java | 528 +++++
.../ibm/jbatch/container/impl/RetryHandler.java | 430 ++++
.../impl/SingleThreadedStepControllerImpl.java | 147 ++
.../ibm/jbatch/container/impl/SkipHandler.java | 360 +++
.../container/impl/SplitControllerImpl.java | 290 +++
.../jobinstance/JobExecutionHelper.java | 276 +++
.../container/jobinstance/JobInstanceImpl.java | 80 +
.../jobinstance/JobOperatorJobExecution.java | 233 ++
.../RuntimeFlowInSplitExecution.java | 39 +
.../jobinstance/RuntimeJobExecution.java | 182 ++
.../jobinstance/StepExecutionImpl.java | 276 +++
.../navigator/AbstractNavigatorImpl.java | 249 ++
.../container/navigator/FlowNavigatorImpl.java | 67 +
.../container/navigator/JobNavigatorImpl.java | 74 +
.../container/navigator/ModelNavigator.java | 53 +
.../container/navigator/NavigatorFactory.java | 29 +
.../persistence/CheckpointAlgorithmFactory.java | 50 +
.../container/persistence/CheckpointData.java | 100 +
.../persistence/CheckpointDataKey.java | 57 +
.../persistence/CheckpointManager.java | 166 ++
.../persistence/ItemCheckpointAlgorithm.java | 228 ++
.../persistence/PersistentDataWrapper.java | 38 +
.../container/services/IBatchKernelService.java | 78 +
.../container/services/IJobExecution.java | 45 +
.../services/IJobStatusManagerService.java | 74 +
.../services/IPersistenceManagerService.java | 213 ++
.../impl/AbstractThreadPoolServiceImpl.java | 80 +
.../impl/BatchTransactionServiceImpl.java | 142 ++
.../impl/BoundedThreadPoolServiceImpl.java | 75 +
.../impl/CDIBatchArtifactFactoryImpl.java | 82 +
.../DelegatingBatchArtifactFactoryImpl.java | 295 +++
.../impl/DelegatingJobXMLLoaderServiceImpl.java | 140 ++
.../impl/DirectoryJobXMLLoaderServiceImpl.java | 101 +
.../impl/GrowableThreadPoolServiceImpl.java | 46 +
.../impl/JDBCPersistenceManagerImpl.java | 2208 ++++++++++++++++++
.../JDBCPersistenceManagerSQLConstants.java | 121 +
.../JNDIDelegatingThreadPoolServiceImpl.java | 98 +
.../impl/JSEBatchArtifactFactoryImpl.java | 267 +++
.../services/impl/JSEResultAdapter.java | 62 +
.../services/impl/JobIdManagerImpl.java | 119 +
.../services/impl/JobStatusManagerImpl.java | 181 ++
.../services/impl/NoOpBatchSecurityHelper.java | 37 +
.../services/impl/RuntimeBatchJobUtil.java | 33 +
.../SPIDelegatingThreadPoolServiceImpl.java | 79 +
.../impl/WeldSEBatchArtifactFactoryImpl.java | 103 +
.../jbatch/container/services/package-info.java | 21 +
.../container/servicesmanager/ServiceTypes.java | 111 +
.../servicesmanager/ServicesManager.java | 41 +
.../servicesmanager/ServicesManagerImpl.java | 416 ++++
.../container/status/ExecutionStatus.java | 78 +
.../container/status/ExtendedBatchStatus.java | 22 +
.../ibm/jbatch/container/status/JobStatus.java | 143 ++
.../jbatch/container/status/JobStatusKey.java | 40 +
.../container/status/SplitExecutionStatus.java | 52 +
.../ibm/jbatch/container/status/StepStatus.java | 137 ++
.../jbatch/container/status/StepStatusKey.java | 53 +
.../impl/DefaultNonTransactionalManager.java | 100 +
.../impl/JTAUserTransactionAdapter.java | 177 ++
.../container/util/BatchContainerConstants.java | 40 +
.../util/BatchFlowInSplitWorkUnit.java | 53 +
.../container/util/BatchParallelWorkUnit.java | 34 +
.../container/util/BatchPartitionPlan.java | 64 +
.../container/util/BatchPartitionWorkUnit.java | 47 +
.../jbatch/container/util/BatchWorkUnit.java | 158 ++
.../util/DependencyInjectionUtility.java | 221 ++
.../util/FlowInSplitBuilderConfig.java | 59 +
.../container/util/PartitionDataWrapper.java | 67 +
.../container/util/PartitionsBuilderConfig.java | 79 +
.../container/util/TCCLObjectInputStream.java | 46 +
.../validation/ArtifactValidationException.java | 46 +
.../spi/services/IBatchArtifactFactory.java | 70 +
.../ibm/jbatch/spi/services/IBatchConfig.java | 34 +
.../jbatch/spi/services/IBatchServiceBase.java | 26 +
.../spi/services/IBatchThreadPoolService.java | 57 +
.../spi/services/IJobIdManagementService.java | 34 +
.../spi/services/IJobXMLLoaderService.java | 27 +
.../services/ITransactionManagementService.java | 25 +
.../jbatch/spi/services/ParallelTaskResult.java | 29 +
.../spi/services/TransactionManagerAdapter.java | 62 +
.../ibm/jbatch/spi/services/package-info.java | 26 +
.../META-INF/batch-jobs/alwaysFails1.xml | 27 +
.../META-INF/batch-jobs/endOnStep1Failure.xml | 29 +
.../META-INF/batch-jobs/failOnStep1Failure.xml | 36 +
.../META-INF/batch-jobs/nextOnStep1Failure.xml | 36 +
.../META-INF/batch-jobs/stopOnStep1Failure.xml | 35 +
.../stopOnStep1FailureDefaultExitStatus.xml | 35 +
.../test/artifacts/RTestBatchletImpl.java | 68 +
.../testJunits/test/junit/.jazzignore | 21 +
.../junit/ImplSpecificJobOperatorTests.java | 173 ++
.../test/junit/ServiceRegistryValidator.java | 58 +
.../testJunits/test/junit/StepFailureTests.java | 147 ++
.../test/junit/TestsWithSecurityHelper.java | 124 +
.../testJunits/test/utils/.jazzignore | 21 +
.../testJunits/test/utils/IOHelper.java | 45 +
.../test/utils/TestSecurityHelper.java | 51 +
LICENSE.txt | 62 +
NOTICE.txt | 209 ++
pom.xml | 218 ++
294 files changed, 30859 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/f7740962/JSR352.JobXML.Model/.project
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/.project b/JSR352.JobXML.Model/.project
new file mode 100755
index 0000000..afaa6a8
--- /dev/null
+++ b/JSR352.JobXML.Model/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>JSR352.JobXML.Model</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/f7740962/JSR352.JobXML.Model/.settings/org.eclipse.jdt.core.prefs
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/.settings/org.eclipse.jdt.core.prefs b/JSR352.JobXML.Model/.settings/org.eclipse.jdt.core.prefs
new file mode 100755
index 0000000..36066c6
--- /dev/null
+++ b/JSR352.JobXML.Model/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,12 @@
+#Mon Apr 16 12:35:10 EDT 2012
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/f7740962/JSR352.JobXML.Model/META-INF/MANIFEST.MF
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/META-INF/MANIFEST.MF b/JSR352.JobXML.Model/META-INF/MANIFEST.MF
new file mode 100755
index 0000000..ebbb198
--- /dev/null
+++ b/JSR352.JobXML.Model/META-INF/MANIFEST.MF
@@ -0,0 +1,11 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: com.ibm.jbatch-model
+Bundle-SymbolicName: com.ibm.jbatch-model
+Bundle-Version: 1.0
+Import-Package: javax.batch.runtime.context
+Export-Package: com.ibm.jbatch.container.jsl,
+ com.ibm.jbatch.container.jsl.impl,
+ com.ibm.jbatch.container.modelresolver,
+ com.ibm.jbatch.jsl.model,
+ com.ibm.jbatch.jsl.util
http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/f7740962/JSR352.JobXML.Model/ant/build.xml
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/ant/build.xml b/JSR352.JobXML.Model/ant/build.xml
new file mode 100755
index 0000000..2ac1b6f
--- /dev/null
+++ b/JSR352.JobXML.Model/ant/build.xml
@@ -0,0 +1,134 @@
+<?xml version="1.0"?>
+<project name="gen.xjcl.model" default="generate">
+
+ <property name="proj.dir" value="${basedir}/.."/>
+ <property name="prereq.dir" value="${proj.dir}/prereqs"/>
+ <property name="generate.dir" value = "${proj.dir}/jaxbgen"/>
+ <property name="generate.pkg.dir" value = "${generate.dir}/com/ibm/jbatch/jsl/model"/>
+ <property name="work.dir" value = "${proj.dir}/work"/>
+ <property name="stubs.dir" value = "${proj.dir}/toStringAndExtraAppendedCodeStubs"/>
+
+ <target name="generateJAXB">
+ <taskdef name="xjc" classname="com.ibm.jtc.jax.tools.xjc.XJC2Task">
+ <classpath>
+ <fileset dir="${prereq.dir}">
+ <include name="com.ibm.jaxb.tools.jar"/>
+ </fileset>
+ </classpath>
+ </taskdef>
+ <mkdir dir=""/>
+ <xjc destdir="${generate.dir}">
+ <arg value="-mark-generated"/>
+ <binding dir="${proj.dir}/src/main/resources">
+ <include name="**/jobXML_1_0.xjb"/>
+ </binding>
+ <schema dir="${proj.dir}/src/main/resources">
+ <include name="**/jobXML_1_0.xsd"/>
+ </schema>
+ <!-- Uncomment if we want to switch to only doing codegen when XSD or XJC has changed.
+ <depends dir="${proj.dir}/src/main/resources" includes="**/*"/>
+ <produces dir="${generate.dir}" includes="**/*.java"/>
+ -->
+ </xjc>
+ </target>
+
+ <!--
+ The goal here is to have a set of JAXBs implement a common interface (the one that the property from the
+ containing Job specifies: com.ibm.jbatch.container.jsl.ExecutionElement.
+ Though it seems like there is a way to do this
+ http://confluence.highsource.org/display/J2B/Inheritance+plugin
+ I'm not sure if the IBM JDK version of the JAXB RI is extensible in this way, and don't want to create a
+ headache if/when this code is pulled into a build.
+
+ (Even so, there's no requirement to gen during build time, but still...)
+
+ So we'll fix up by hand.-->
+
+ <!--
+ replace="/\*\*\\n\*\n Modified post-XJC-gen by custom build logic in order to deal with the\n\* fact that JAXB does not make it easy to generate\\n* elements implementing a common interface.\n\*/ public class \1 implements com.ibm.jbatch.container.jsl.ExecutionElement \{">
+ -->
+ <target name="AddExecutionElement.Intf.ToJAXBs">
+ <replaceregexp
+ match="public class (.*) \{"
+ replace="/\*\*\${line.separator} \* Modified post-XJC-gen by custom JSR352 RI build logic ${line.separator} \* since we can't seem to get JAXB's XJC to generate ${line.separator} \* elements implementing a common interface. ${line.separator} \*${line.separator} \* This custom logic adds the interface implementation : ${line.separator} \* implements com.ibm.jbatch.container.jsl.ExecutionElement ${line.separator} \*/${line.separator} public class \1 implements com.ibm.jbatch.container.jsl.ExecutionElement \{">
+
+ <fileset dir="${generate.dir}">
+ <include name="**/Decision.java"/>
+ <include name="**/Flow.java"/>
+ <include name="**/Split.java"/>
+ <include name="**/Step.java"/>
+ </fileset>
+ </replaceregexp>
+
+ </target>
+
+ <!--
+ The goal here is to have a set of JAXBs implement a common interface (the one that the property from the
+ containing Job specifies: com.ibm.jbatch.container.jsl.TransitionElement.
+ Though it seems like there is a way to do this
+ http://confluence.highsource.org/display/J2B/Inheritance+plugin
+ I'm not sure if the IBM JDK version of the JAXB RI is extensible in this way, and don't want to create a
+ headache if/when this code is pulled into a build.
+
+ (Even so, there's no requirement to gen during build time, but still...)
+
+ So we'll fix up by hand.-->
+
+ <!--
+ replace="/\*\*\\n\*\n Modified post-XJC-gen by custom build logic in order to deal with the\n\* fact that JAXB does not make it easy to generate\\n* elements implementing a common interface.\n\*/ public class \1 implements com.ibm.jbatch.container.jsl.TransitionElement \{">
+ -->
+ <target name="AddTransitionElement.Intf.ToJAXBs">
+ <replaceregexp
+ match="public class (.*) \{"
+ replace="/\*\*\${line.separator} \* Modified post-XJC-gen by custom JSR352 RI build logic ${line.separator} \* since we can't seem to get JAXB's XJC to generate ${line.separator} \* elements implementing a common interface. ${line.separator} \*${line.separator} \* This custom logic adds the interface implementation : ${line.separator} \* implements com.ibm.jbatch.container.jsl.TransitionElement ${line.separator} \*/${line.separator} public class \1 implements com.ibm.jbatch.container.jsl.TransitionElement \{">
+
+ <fileset dir="${generate.dir}">
+ <include name="**/End.java"/>
+ <include name="**/Fail.java"/>
+ <include name="**/Next.java"/>
+ <include name="**/Stop.java"/>
+ </fileset>
+ </replaceregexp>
+
+ </target>
+
+ <target name="addInterfaces" depends="AddExecutionElement.Intf.ToJAXBs, AddTransitionElement.Intf.ToJAXBs"/>
+ <target name="generate" depends="generateJAXB, addInterfaces, addExtraCodes"/>
+
+ <macrodef name="appendExtraCode">
+ <attribute name="class"/>
+ <sequential>
+ <concat destfile="${generate.dir}/@{class}.java.tmp" force="no">
+ <path path="${generate.pkg.dir}/@{class}.java"/>
+ <filterchain>
+ <!-- Strip off last line -->
+ <tailfilter lines="-1" skip="1"/>
+ </filterchain>
+ </concat>
+ <concat destfile="${generate.pkg.dir}/@{class}.java" force="no">
+ <path path="${generate.dir}/@{class}.java.tmp"/>
+ <path path="${stubs.dir}/@{class}ExtraCode.java"/>
+ <footer filtering="no">
+}</footer> <!-- No, I don't know how to do the whitespace/newline any better .-->
+ </concat>
+ <delete file="${generate.dir}/@{class}.java.tmp"/>
+ </sequential>
+ </macrodef>
+
+ <target name="addExtraCodes">
+ <appendExtraCode class="Batchlet"/>
+ <appendExtraCode class="Chunk"/>
+ <appendExtraCode class="Decision"/>
+ <appendExtraCode class="End"/>
+ <appendExtraCode class="Fail"/>
+ <appendExtraCode class="Flow"/>
+ <appendExtraCode class="JSLJob"/>
+ <appendExtraCode class="JSLProperties"/>
+ <appendExtraCode class="Next"/>
+ <appendExtraCode class="Property"/>
+ <appendExtraCode class="Split"/>
+ <appendExtraCode class="Step"/>
+ <appendExtraCode class="Stop"/>
+ </target>
+
+</project>
http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/f7740962/JSR352.JobXML.Model/build.properties
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/build.properties b/JSR352.JobXML.Model/build.properties
new file mode 100755
index 0000000..13c8ef9
--- /dev/null
+++ b/JSR352.JobXML.Model/build.properties
@@ -0,0 +1,7 @@
+source.. = src/main/java/,\
+ jaxbgen/,\
+ src/main/resources/,\
+ src/test/java/,\
+ src/test/resources/
+bin.includes = META-INF/,\
+ .
http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/f7740962/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/Analyzer.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/Analyzer.java b/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/Analyzer.java
new file mode 100755
index 0000000..c2a020f
--- /dev/null
+++ b/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/Analyzer.java
@@ -0,0 +1,103 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vIBM 2.2.3-11/28/2011 06:21 AM(foreman)-
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2013.04.04 at 11:02:42 PM EDT
+//
+
+
+package com.ibm.jbatch.jsl.model;
+
+import javax.annotation.Generated;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Analyzer complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Analyzer">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="properties" type="{http://xmlns.jcp.org/xml/ns/javaee}Properties" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="ref" use="required" type="{http://xmlns.jcp.org/xml/ns/javaee}artifactRef" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Analyzer", propOrder = {
+ "properties"
+})
+@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+public class Analyzer {
+
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected JSLProperties properties;
+ @XmlAttribute(name = "ref", required = true)
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected String ref;
+
+ /**
+ * Gets the value of the properties property.
+ *
+ * @return
+ * possible object is
+ * {@link JSLProperties }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public JSLProperties getProperties() {
+ return properties;
+ }
+
+ /**
+ * Sets the value of the properties property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JSLProperties }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setProperties(JSLProperties value) {
+ this.properties = value;
+ }
+
+ /**
+ * Gets the value of the ref property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public String getRef() {
+ return ref;
+ }
+
+ /**
+ * Sets the value of the ref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setRef(String value) {
+ this.ref = value;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/f7740962/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/Batchlet.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/Batchlet.java b/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/Batchlet.java
new file mode 100755
index 0000000..83dddfb
--- /dev/null
+++ b/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/Batchlet.java
@@ -0,0 +1,114 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vIBM 2.2.3-11/28/2011 06:21 AM(foreman)-
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2013.04.04 at 11:02:42 PM EDT
+//
+
+
+package com.ibm.jbatch.jsl.model;
+
+import javax.annotation.Generated;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Batchlet complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Batchlet">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="properties" type="{http://xmlns.jcp.org/xml/ns/javaee}Properties" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="ref" use="required" type="{http://xmlns.jcp.org/xml/ns/javaee}artifactRef" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Batchlet", propOrder = {
+ "properties"
+})
+@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+public class Batchlet {
+
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected JSLProperties properties;
+ @XmlAttribute(name = "ref", required = true)
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected String ref;
+
+ /**
+ * Gets the value of the properties property.
+ *
+ * @return
+ * possible object is
+ * {@link JSLProperties }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public JSLProperties getProperties() {
+ return properties;
+ }
+
+ /**
+ * Sets the value of the properties property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JSLProperties }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setProperties(JSLProperties value) {
+ this.properties = value;
+ }
+
+ /**
+ * Gets the value of the ref property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public String getRef() {
+ return ref;
+ }
+
+ /**
+ * Sets the value of the ref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setRef(String value) {
+ this.ref = value;
+ }
+
+ /*
+ * Appended by build tooling.
+ */
+ public String toString() {
+ StringBuffer buf = new StringBuffer(100);
+ buf.append("Batchlet: ref=" + ref);
+ buf.append("\n");
+ buf.append("Properties = " + com.ibm.jbatch.jsl.util.PropertiesToStringHelper.getString(properties));
+ return buf.toString();
+ }
+
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/f7740962/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/CheckpointAlgorithm.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/CheckpointAlgorithm.java b/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/CheckpointAlgorithm.java
new file mode 100755
index 0000000..0f8a2b0
--- /dev/null
+++ b/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/CheckpointAlgorithm.java
@@ -0,0 +1,103 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vIBM 2.2.3-11/28/2011 06:21 AM(foreman)-
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2013.04.04 at 11:02:42 PM EDT
+//
+
+
+package com.ibm.jbatch.jsl.model;
+
+import javax.annotation.Generated;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for CheckpointAlgorithm complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="CheckpointAlgorithm">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="properties" type="{http://xmlns.jcp.org/xml/ns/javaee}Properties" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="ref" use="required" type="{http://xmlns.jcp.org/xml/ns/javaee}artifactRef" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CheckpointAlgorithm", propOrder = {
+ "properties"
+})
+@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+public class CheckpointAlgorithm {
+
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected JSLProperties properties;
+ @XmlAttribute(name = "ref", required = true)
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected String ref;
+
+ /**
+ * Gets the value of the properties property.
+ *
+ * @return
+ * possible object is
+ * {@link JSLProperties }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public JSLProperties getProperties() {
+ return properties;
+ }
+
+ /**
+ * Sets the value of the properties property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JSLProperties }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setProperties(JSLProperties value) {
+ this.properties = value;
+ }
+
+ /**
+ * Gets the value of the ref property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public String getRef() {
+ return ref;
+ }
+
+ /**
+ * Sets the value of the ref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setRef(String value) {
+ this.ref = value;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/f7740962/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/Chunk.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/Chunk.java b/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/Chunk.java
new file mode 100755
index 0000000..08a0b6b
--- /dev/null
+++ b/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/Chunk.java
@@ -0,0 +1,430 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vIBM 2.2.3-11/28/2011 06:21 AM(foreman)-
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2013.04.04 at 11:02:42 PM EDT
+//
+
+
+package com.ibm.jbatch.jsl.model;
+
+import javax.annotation.Generated;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Chunk complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Chunk">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="reader" type="{http://xmlns.jcp.org/xml/ns/javaee}ItemReader"/>
+ * <element name="processor" type="{http://xmlns.jcp.org/xml/ns/javaee}ItemProcessor" minOccurs="0"/>
+ * <element name="writer" type="{http://xmlns.jcp.org/xml/ns/javaee}ItemWriter"/>
+ * <element name="checkpoint-algorithm" type="{http://xmlns.jcp.org/xml/ns/javaee}CheckpointAlgorithm" minOccurs="0"/>
+ * <element name="skippable-exception-classes" type="{http://xmlns.jcp.org/xml/ns/javaee}ExceptionClassFilter" minOccurs="0"/>
+ * <element name="retryable-exception-classes" type="{http://xmlns.jcp.org/xml/ns/javaee}ExceptionClassFilter" minOccurs="0"/>
+ * <element name="no-rollback-exception-classes" type="{http://xmlns.jcp.org/xml/ns/javaee}ExceptionClassFilter" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="checkpoint-policy" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="item-count" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="time-limit" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="skip-limit" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="retry-limit" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Chunk", propOrder = {
+ "reader",
+ "processor",
+ "writer",
+ "checkpointAlgorithm",
+ "skippableExceptionClasses",
+ "retryableExceptionClasses",
+ "noRollbackExceptionClasses"
+})
+@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+public class Chunk {
+
+ @XmlElement(required = true)
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected ItemReader reader;
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected ItemProcessor processor;
+ @XmlElement(required = true)
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected ItemWriter writer;
+ @XmlElement(name = "checkpoint-algorithm")
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected CheckpointAlgorithm checkpointAlgorithm;
+ @XmlElement(name = "skippable-exception-classes")
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected ExceptionClassFilter skippableExceptionClasses;
+ @XmlElement(name = "retryable-exception-classes")
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected ExceptionClassFilter retryableExceptionClasses;
+ @XmlElement(name = "no-rollback-exception-classes")
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected ExceptionClassFilter noRollbackExceptionClasses;
+ @XmlAttribute(name = "checkpoint-policy")
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected String checkpointPolicy;
+ @XmlAttribute(name = "item-count")
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected String itemCount;
+ @XmlAttribute(name = "time-limit")
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected String timeLimit;
+ @XmlAttribute(name = "skip-limit")
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected String skipLimit;
+ @XmlAttribute(name = "retry-limit")
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected String retryLimit;
+
+ /**
+ * Gets the value of the reader property.
+ *
+ * @return
+ * possible object is
+ * {@link ItemReader }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public ItemReader getReader() {
+ return reader;
+ }
+
+ /**
+ * Sets the value of the reader property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ItemReader }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setReader(ItemReader value) {
+ this.reader = value;
+ }
+
+ /**
+ * Gets the value of the processor property.
+ *
+ * @return
+ * possible object is
+ * {@link ItemProcessor }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public ItemProcessor getProcessor() {
+ return processor;
+ }
+
+ /**
+ * Sets the value of the processor property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ItemProcessor }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setProcessor(ItemProcessor value) {
+ this.processor = value;
+ }
+
+ /**
+ * Gets the value of the writer property.
+ *
+ * @return
+ * possible object is
+ * {@link ItemWriter }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public ItemWriter getWriter() {
+ return writer;
+ }
+
+ /**
+ * Sets the value of the writer property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ItemWriter }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setWriter(ItemWriter value) {
+ this.writer = value;
+ }
+
+ /**
+ * Gets the value of the checkpointAlgorithm property.
+ *
+ * @return
+ * possible object is
+ * {@link CheckpointAlgorithm }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public CheckpointAlgorithm getCheckpointAlgorithm() {
+ return checkpointAlgorithm;
+ }
+
+ /**
+ * Sets the value of the checkpointAlgorithm property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CheckpointAlgorithm }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setCheckpointAlgorithm(CheckpointAlgorithm value) {
+ this.checkpointAlgorithm = value;
+ }
+
+ /**
+ * Gets the value of the skippableExceptionClasses property.
+ *
+ * @return
+ * possible object is
+ * {@link ExceptionClassFilter }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public ExceptionClassFilter getSkippableExceptionClasses() {
+ return skippableExceptionClasses;
+ }
+
+ /**
+ * Sets the value of the skippableExceptionClasses property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExceptionClassFilter }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setSkippableExceptionClasses(ExceptionClassFilter value) {
+ this.skippableExceptionClasses = value;
+ }
+
+ /**
+ * Gets the value of the retryableExceptionClasses property.
+ *
+ * @return
+ * possible object is
+ * {@link ExceptionClassFilter }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public ExceptionClassFilter getRetryableExceptionClasses() {
+ return retryableExceptionClasses;
+ }
+
+ /**
+ * Sets the value of the retryableExceptionClasses property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExceptionClassFilter }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setRetryableExceptionClasses(ExceptionClassFilter value) {
+ this.retryableExceptionClasses = value;
+ }
+
+ /**
+ * Gets the value of the noRollbackExceptionClasses property.
+ *
+ * @return
+ * possible object is
+ * {@link ExceptionClassFilter }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public ExceptionClassFilter getNoRollbackExceptionClasses() {
+ return noRollbackExceptionClasses;
+ }
+
+ /**
+ * Sets the value of the noRollbackExceptionClasses property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExceptionClassFilter }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setNoRollbackExceptionClasses(ExceptionClassFilter value) {
+ this.noRollbackExceptionClasses = value;
+ }
+
+ /**
+ * Gets the value of the checkpointPolicy property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public String getCheckpointPolicy() {
+ return checkpointPolicy;
+ }
+
+ /**
+ * Sets the value of the checkpointPolicy property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setCheckpointPolicy(String value) {
+ this.checkpointPolicy = value;
+ }
+
+ /**
+ * Gets the value of the itemCount property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public String getItemCount() {
+ return itemCount;
+ }
+
+ /**
+ * Sets the value of the itemCount property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setItemCount(String value) {
+ this.itemCount = value;
+ }
+
+ /**
+ * Gets the value of the timeLimit property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public String getTimeLimit() {
+ return timeLimit;
+ }
+
+ /**
+ * Sets the value of the timeLimit property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setTimeLimit(String value) {
+ this.timeLimit = value;
+ }
+
+ /**
+ * Gets the value of the skipLimit property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public String getSkipLimit() {
+ return skipLimit;
+ }
+
+ /**
+ * Sets the value of the skipLimit property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setSkipLimit(String value) {
+ this.skipLimit = value;
+ }
+
+ /**
+ * Gets the value of the retryLimit property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public String getRetryLimit() {
+ return retryLimit;
+ }
+
+ /**
+ * Sets the value of the retryLimit property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setRetryLimit(String value) {
+ this.retryLimit = value;
+ }
+
+ /*
+ * Appended by build tooling.
+ */
+ public String toString() {
+ StringBuffer buf = new StringBuffer(250);
+ String chkAlgStr = checkpointAlgorithm == null ? "null" : checkpointAlgorithm.getRef();
+ buf.append("Chunk: checkpointAlgorithm = " + chkAlgStr);
+ buf.append(", skippableExceptions = " + skippableExceptionClasses);
+ buf.append(", retryableExceptions = " + retryableExceptionClasses);
+ buf.append(", reader = " + reader);
+ buf.append(", processor = " + processor);
+ buf.append(", writer = " + writer);
+ buf.append(", checkpointPolicy = " + checkpointPolicy);
+ buf.append(", itemCount = " + itemCount);
+ buf.append(", timeLimit = " + timeLimit);
+ buf.append(", skipLimit = " + skipLimit);
+ buf.append(", retryLimit = " + retryLimit);
+ buf.append("\n");
+ return buf.toString();
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/f7740962/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/Collector.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/Collector.java b/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/Collector.java
new file mode 100755
index 0000000..14a78b1
--- /dev/null
+++ b/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/Collector.java
@@ -0,0 +1,103 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vIBM 2.2.3-11/28/2011 06:21 AM(foreman)-
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2013.04.04 at 11:02:42 PM EDT
+//
+
+
+package com.ibm.jbatch.jsl.model;
+
+import javax.annotation.Generated;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Collector complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Collector">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="properties" type="{http://xmlns.jcp.org/xml/ns/javaee}Properties" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="ref" use="required" type="{http://xmlns.jcp.org/xml/ns/javaee}artifactRef" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Collector", propOrder = {
+ "properties"
+})
+@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+public class Collector {
+
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected JSLProperties properties;
+ @XmlAttribute(name = "ref", required = true)
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected String ref;
+
+ /**
+ * Gets the value of the properties property.
+ *
+ * @return
+ * possible object is
+ * {@link JSLProperties }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public JSLProperties getProperties() {
+ return properties;
+ }
+
+ /**
+ * Sets the value of the properties property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JSLProperties }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setProperties(JSLProperties value) {
+ this.properties = value;
+ }
+
+ /**
+ * Gets the value of the ref property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public String getRef() {
+ return ref;
+ }
+
+ /**
+ * Sets the value of the ref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setRef(String value) {
+ this.ref = value;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/f7740962/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/Decision.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/Decision.java b/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/Decision.java
new file mode 100755
index 0000000..fa64af8
--- /dev/null
+++ b/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/Decision.java
@@ -0,0 +1,217 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vIBM 2.2.3-11/28/2011 06:21 AM(foreman)-
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2013.04.04 at 11:02:42 PM EDT
+//
+
+
+package com.ibm.jbatch.jsl.model;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.annotation.Generated;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElements;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import com.ibm.jbatch.container.jsl.TransitionElement;
+
+
+/**
+ * <p>Java class for Decision complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Decision">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="properties" type="{http://xmlns.jcp.org/xml/ns/javaee}Properties" minOccurs="0"/>
+ * <group ref="{http://xmlns.jcp.org/xml/ns/javaee}TransitionElements" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * <attribute name="ref" use="required" type="{http://xmlns.jcp.org/xml/ns/javaee}artifactRef" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Decision", propOrder = {
+ "properties",
+ "transitionElements"
+})
+@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+/**
+ * Modified post-XJC-gen by custom JSR352 RI build logic
+ * since we can't seem to get JAXB's XJC to generate
+ * elements implementing a common interface.
+ *
+ * This custom logic adds the interface implementation :
+ * implements com.ibm.jbatch.container.jsl.ExecutionElement
+ */
+ public class Decision implements com.ibm.jbatch.container.jsl.ExecutionElement {
+
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected JSLProperties properties;
+ @XmlElements({
+ @XmlElement(name = "stop", type = Stop.class),
+ @XmlElement(name = "next", type = Next.class),
+ @XmlElement(name = "fail", type = Fail.class),
+ @XmlElement(name = "end", type = End.class)
+ })
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected List<TransitionElement> transitionElements;
+ @XmlAttribute(name = "id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ @XmlSchemaType(name = "ID")
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected String id;
+ @XmlAttribute(name = "ref", required = true)
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected String ref;
+
+ /**
+ * Gets the value of the properties property.
+ *
+ * @return
+ * possible object is
+ * {@link JSLProperties }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public JSLProperties getProperties() {
+ return properties;
+ }
+
+ /**
+ * Sets the value of the properties property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JSLProperties }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setProperties(JSLProperties value) {
+ this.properties = value;
+ }
+
+ /**
+ * Gets the value of the transitionElements property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the transitionElements property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getTransitionElements().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Stop }
+ * {@link Next }
+ * {@link Fail }
+ * {@link End }
+ *
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public List<TransitionElement> getTransitionElements() {
+ if (transitionElements == null) {
+ transitionElements = new ArrayList<TransitionElement>();
+ }
+ return this.transitionElements;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the ref property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public String getRef() {
+ return ref;
+ }
+
+ /**
+ * Sets the value of the ref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setRef(String value) {
+ this.ref = value;
+ }
+
+ /*
+ * Appended by build tooling.
+ */
+ public String toString() {
+ StringBuffer buf = new StringBuffer(100);
+ buf.append("Decision: id=" + id);
+ buf.append("\nTransition elements: \n");
+ if (transitionElements == null) {
+ buf.append("<none>");
+ } else {
+ int j = 0;
+ for ( com.ibm.jbatch.container.jsl.TransitionElement e : transitionElements) {
+ buf.append("transition element[" + j + "]:" + e + "\n");
+ j++;
+ }
+ }
+ buf.append("\nProperties = " + com.ibm.jbatch.jsl.util.PropertiesToStringHelper.getString(properties));
+ buf.append("\n");
+ buf.append("Contains decider =" + ref);
+ return buf.toString();
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/f7740962/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/End.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/End.java b/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/End.java
new file mode 100755
index 0000000..49e8dbf
--- /dev/null
+++ b/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/End.java
@@ -0,0 +1,115 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vIBM 2.2.3-11/28/2011 06:21 AM(foreman)-
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2013.04.04 at 11:02:42 PM EDT
+//
+
+
+package com.ibm.jbatch.jsl.model;
+
+import javax.annotation.Generated;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for End complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="End">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attGroup ref="{http://xmlns.jcp.org/xml/ns/javaee}TerminatingAttributes"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "End")
+@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+/**
+ * Modified post-XJC-gen by custom JSR352 RI build logic
+ * since we can't seem to get JAXB's XJC to generate
+ * elements implementing a common interface.
+ *
+ * This custom logic adds the interface implementation :
+ * implements com.ibm.jbatch.container.jsl.TransitionElement
+ */
+ public class End implements com.ibm.jbatch.container.jsl.TransitionElement {
+
+ @XmlAttribute(name = "on", required = true)
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected String on;
+ @XmlAttribute(name = "exit-status")
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected String exitStatus;
+
+ /**
+ * Gets the value of the on property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public String getOn() {
+ return on;
+ }
+
+ /**
+ * Sets the value of the on property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setOn(String value) {
+ this.on = value;
+ }
+
+ /**
+ * Gets the value of the exitStatus property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public String getExitStatus() {
+ return exitStatus;
+ }
+
+ /**
+ * Sets the value of the exitStatus property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setExitStatus(String value) {
+ this.exitStatus = value;
+ }
+
+ /*
+ * Appended by build tooling.
+ */
+ public String toString() {
+ StringBuffer buf = new StringBuffer(40);
+ buf.append("End: on = " + on + ", exit-status = " + exitStatus);
+ return buf.toString();
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/f7740962/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/ExceptionClassFilter.java
----------------------------------------------------------------------
diff --git a/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/ExceptionClassFilter.java b/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/ExceptionClassFilter.java
new file mode 100755
index 0000000..18e635c
--- /dev/null
+++ b/JSR352.JobXML.Model/jaxbgen/com/ibm/jbatch/jsl/model/ExceptionClassFilter.java
@@ -0,0 +1,250 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vIBM 2.2.3-11/28/2011 06:21 AM(foreman)-
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2013.04.04 at 11:02:42 PM EDT
+//
+
+
+package com.ibm.jbatch.jsl.model;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.annotation.Generated;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ExceptionClassFilter complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ExceptionClassFilter">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="include" maxOccurs="unbounded" minOccurs="0">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="exclude" maxOccurs="unbounded" minOccurs="0">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ExceptionClassFilter", propOrder = {
+ "includeList",
+ "excludeList"
+})
+@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+public class ExceptionClassFilter {
+
+ @XmlElement(name = "include")
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected List<ExceptionClassFilter.Include> includeList;
+ @XmlElement(name = "exclude")
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected List<ExceptionClassFilter.Exclude> excludeList;
+
+ /**
+ * Gets the value of the includeList property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the includeList property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getIncludeList().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ExceptionClassFilter.Include }
+ *
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public List<ExceptionClassFilter.Include> getIncludeList() {
+ if (includeList == null) {
+ includeList = new ArrayList<ExceptionClassFilter.Include>();
+ }
+ return this.includeList;
+ }
+
+ /**
+ * Gets the value of the excludeList property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the excludeList property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getExcludeList().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ExceptionClassFilter.Exclude }
+ *
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public List<ExceptionClassFilter.Exclude> getExcludeList() {
+ if (excludeList == null) {
+ excludeList = new ArrayList<ExceptionClassFilter.Exclude>();
+ }
+ return this.excludeList;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public static class Exclude {
+
+ @XmlAttribute(name = "class", required = true)
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected String clazz;
+
+ /**
+ * Gets the value of the clazz property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public String getClazz() {
+ return clazz;
+ }
+
+ /**
+ * Sets the value of the clazz property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setClazz(String value) {
+ this.clazz = value;
+ }
+
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public static class Include {
+
+ @XmlAttribute(name = "class", required = true)
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ protected String clazz;
+
+ /**
+ * Gets the value of the clazz property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public String getClazz() {
+ return clazz;
+ }
+
+ /**
+ * Sets the value of the clazz property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-04-04T11:02:42-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
+ public void setClazz(String value) {
+ this.clazz = value;
+ }
+
+ }
+
+}