public abstract class AbstractJobXmlResolver extends Object implements JobXmlResolver
null
for the job name.DEFAULT_PATH
Constructor and Description |
---|
AbstractJobXmlResolver() |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getJobXmlNames(ClassLoader classLoader)
Optionally returns a list of job XML names that are allowed to be used.
|
String |
resolveJobName(String jobXml,
ClassLoader classLoader)
Optionally resolves the job name from the job XML.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resolveJobXml
public Collection<String> getJobXmlNames(ClassLoader classLoader)
JobXmlResolver
An empty collection should be returned if job names can not be resolved.
getJobXmlNames
in interface JobXmlResolver
classLoader
- the class loader for the applicationpublic String resolveJobName(String jobXml, ClassLoader classLoader)
JobXmlResolver
A null
value can be returned if the name cannot be resolved.
resolveJobName
in interface JobXmlResolver
jobXml
- the name of the xml XML with a .xml
suffixclassLoader
- the class loader for the applicationnull
if not foundCopyright © 2017 JBoss by Red Hat. All rights reserved.