public final class JobParser extends Object
Constructor and Description |
---|
JobParser() |
Modifier and Type | Method and Description |
---|---|
static BatchArtifacts |
parseBatchArtifacts(InputStream inputStream)
Parses batch.xml, which declares batch artifacts in xml format.
|
static Job |
parseJob(InputStream inputStream)
Parses a job xml file, which defines a batch job.
|
public static Job parseJob(InputStream inputStream) throws XMLStreamException
inputStream
- the source of the job xml definitionXMLStreamException
public static BatchArtifacts parseBatchArtifacts(InputStream inputStream) throws XMLStreamException
inputStream
- source of the batch.xmlXMLStreamException
Copyright © 2014 JBoss by Red Hat. All rights reserved.