public abstract class ModelOptionParser
extends joptsimple.OptionParser
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_BIDSPATH |
static String |
KEY_FILETYPE |
static String |
KEY_ITERATOR |
static String |
KEY_MULTIPLEFILES |
static String |
KEY_MUTE |
static String |
KEY_NUMBEROFBIDS |
static String |
KEY_SEED |
static String |
KEY_XORQ |
| Constructor and Description |
|---|
ModelOptionParser() |
| Modifier and Type | Method and Description |
|---|---|
protected PathResult |
allModelsResultTreating(joptsimple.OptionSet options,
ModelCreator.Builder builder) |
static ModelOptionParser |
createOptionParser(Model model)
Factory Method to create a ModelOptionParser for a specific model
|
protected abstract Model |
getModel() |
static void |
printGeneralHelp()
Prints the help not specific to a certain model
Only call this methods if no model is defined. |
abstract PathResult |
treatResult(String[] args) |
public static String KEY_NUMBEROFBIDS
public static String KEY_MULTIPLEFILES
public static String KEY_ITERATOR
public static String KEY_XORQ
public static String KEY_BIDSPATH
public static String KEY_FILETYPE
public static String KEY_MUTE
public static String KEY_SEED
protected abstract Model getModel()
public abstract PathResult treatResult(String[] args) throws IllegalConfigException, UnsupportedBiddingLanguageException, IOException
protected PathResult allModelsResultTreating(joptsimple.OptionSet options, ModelCreator.Builder builder) throws IllegalConfigException, UnsupportedBiddingLanguageException, IOException
public static ModelOptionParser createOptionParser(Model model)
model - public static void printGeneralHelp()
Copyright © 2018. All rights reserved.