public interface ArtifactProvider
Modifier and Type | Method and Description |
---|---|
<T> T |
getArtifact(String key)
Gets an artifact by name
|
String |
getLanguage()
Retrieves the language code of the material which was used to train the
model or x-unspecified if non was set.
|
String |
getManifestProperty(String key)
Retrieves the value to the given key from the manifest.properties
entry.
|
boolean |
isLoadedFromSerialized()
Indicates if this provider was loaded from serialized.
|
<T> T getArtifact(String key)
String getManifestProperty(String key)
key
- String getLanguage()
boolean isLoadedFromSerialized()
Copyright © 2020 The Apache Software Foundation. All rights reserved.