public abstract class SubmarineStorage extends Object
Constructor and Description |
---|
SubmarineStorage() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addNewJob(String jobName,
Map<String,String> jobInfo)
Add a new job by name
|
abstract void |
addNewModel(String modelName,
String version,
Map<String,String> modelInfo)
Add a new model
|
abstract Map<String,String> |
getJobInfoByName(String jobName)
Get job info by job name.
|
abstract Map<String,String> |
getModelInfoByName(String modelName,
String version)
Get model info by name and version.
|
public abstract void addNewJob(String jobName, Map<String,String> jobInfo) throws IOException
jobName
- name of job.jobInfo
- info of the job.IOException
public abstract Map<String,String> getJobInfoByName(String jobName) throws IOException
jobName
- name of jobIOException
public abstract void addNewModel(String modelName, String version, Map<String,String> modelInfo) throws IOException
modelName
- name of modelversion
- version of the model, when null is specified, it will be
"default"modelInfo
- info of the model.IOException
public abstract Map<String,String> getModelInfoByName(String modelName, String version) throws IOException
modelName
- name of model.version
- version of the model, when null is specifed, it will beIOException
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.