public class MetaBatchLoaderImpl extends AbstractSpringBatchLoader implements MetaBatchLoader
BaseLoader.DoConversion
ASYNC_OPTION, FAIL_ON_ERROR_OPTION, inUse, LOADER_POST_PROCESSOR_OPTION, LOADER_PREFERENCE_FILE_OPTION, MANIFEST_FILE_OPTION, SUPPLEMENT_OPTION
DESCRIPTION, NAME, VERSION
Constructor and Description |
---|
MetaBatchLoaderImpl() |
Modifier and Type | Method and Description |
---|---|
protected ExtensionDescription |
buildExtensionDescription()
Builds the extension description.
|
protected OptionHolder |
declareAllowedOptions(OptionHolder holder) |
protected URNVersionPair[] |
doLoad() |
protected URNVersionPair[] |
getLoadedCodingSchemes(org.springframework.context.ApplicationContext context) |
java.lang.String |
getName()
Return the name assigned to this service extension.
|
void |
loadMeta(java.net.URI rrfDir)
Load meta.
|
static void |
main(java.lang.String[] args) |
void |
removeLoad(java.lang.String uri,
java.lang.String version) |
void |
resumeMeta(java.net.URI rrfDir,
java.lang.String uri,
java.lang.String version)
Resume meta.
|
buildJobParameters, getJobExecution, getLoadedCodingSchemes, getURIFromPath, launchJob, printJobProperties, printStartLogInfo, processStateConverter, setLoadedCodingSchemes
addBooleanOptionValue, baseLoad, buildRootNode, clearLog, constructVersionPairsFromCodingSchemes, createCachingMessageDirectorIF, createDefaultInserter, createDefaultInserter, doesOptionExist, doIndex, doPostProcessing, doRegister, doTransitiveAndIndex, doTransitiveTable, getAbsoluteCodingSchemeVersionReferenceFromOptionString, getCodingSchemeManifest, getCodingSchemeManifestURI, getCodingSchemeReferences, getDescription, getLoaderPreferences, getLog, getLogger, getManifestUtil, getMessageDirector, getOntologyFormat, getOptions, getPostProcessor, getProvider, getResourceUri, getStatus, getStringFromURI, getVersion, isDoApplyPostLoadManifest, isDoComputeTransitiveClosure, isDoIndexing, isDoRegister, isDoRemoveOnFailure, isInUse, load, lock, persistCodingSchemeToDatabase, persistCodingSchemeToDatabase, register, register, setCachingMessageDirectorIF, setCodingSchemeManifest, setCodingSchemeManifestURI, setCodingSchemeReferences, setDoApplyPostLoadManifest, setDoComputeTransitiveClosure, setDoIndexing, setDoRegister, setDoRemoveOnFailure, setInUse, setLoaderPreferences, setLoaderPreferences, setManifestUtil, setOptions, setResourceUri, setStatus, unlock, urnVersionPairToAbsoluteCodingSchemeVersionReference
getExtensionDescription
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJobExecution
clearLog, getCodingSchemeManifest, getCodingSchemeManifestURI, getCodingSchemeReferences, getLoaderPreferences, getLog, getOntologyFormat, getOptions, getStatus, load, setCodingSchemeManifest, setCodingSchemeManifestURI, setLoaderPreferences, setLoaderPreferences
getDescription, getProvider, getVersion
public void loadMeta(java.net.URI rrfDir) throws java.lang.Exception
MetaBatchLoader
loadMeta
in interface MetaBatchLoader
rrfDir
- the rrf dirjava.lang.Exception
- the exceptionpublic void resumeMeta(java.net.URI rrfDir, java.lang.String uri, java.lang.String version) throws java.lang.Exception
MetaBatchLoader
resumeMeta
in interface MetaBatchLoader
rrfDir
- the rrf diruri
- the uriversion
- the versionjava.lang.Exception
- the exceptionpublic void removeLoad(java.lang.String uri, java.lang.String version) throws LBParameterException
removeLoad
in interface MetaBatchLoader
LBParameterException
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public java.lang.String getName()
Extendable
getName
in interface Extendable
getName
in class BaseLoader
protected OptionHolder declareAllowedOptions(OptionHolder holder)
declareAllowedOptions
in class BaseLoader
protected URNVersionPair[] doLoad()
doLoad
in class BaseLoader
protected URNVersionPair[] getLoadedCodingSchemes(org.springframework.context.ApplicationContext context)
getLoadedCodingSchemes
in class AbstractSpringBatchLoader
protected ExtensionDescription buildExtensionDescription()
AbstractExtendable
buildExtensionDescription
in class AbstractExtendable