public abstract class AbstractUserArgumentProcessor extends Object implements UserArgumentProcessor
To add a new StructureAlignment with a CLI similar to CE or FATCAT,
Note that reflection is used in a number of places, so the CLI argument names must match the get/set functions in both parameter beans.
Modifier and Type | Field and Description |
---|---|
static List<String> |
mandatoryArgs |
static String |
newline |
protected StartupParameters |
params |
Modifier | Constructor and Description |
---|---|
protected |
AbstractUserArgumentProcessor() |
Modifier and Type | Method and Description |
---|---|
abstract StructureAlignment |
getAlgorithm() |
abstract String |
getDbSearchLegend() |
String |
getDbSearchResult(AFPChain afpChain) |
abstract Object |
getParameters() |
protected abstract StartupParameters |
getStartupParametersInstance()
StartupParameters is a bean to store all the possible
command line parameters.
|
static void |
printAboutMe() |
String |
printHelp()
Print help about the arguments
|
void |
process(String[] argv)
Process user arguments that have been provided from the command line
|
protected StartupParameters params
public static final List<String> mandatoryArgs
protected AbstractUserArgumentProcessor()
protected abstract StartupParameters getStartupParametersInstance()
public abstract StructureAlignment getAlgorithm()
public abstract Object getParameters()
public abstract String getDbSearchLegend()
public void process(String[] argv)
UserArgumentProcessor
process
in interface UserArgumentProcessor
public static void printAboutMe()
public String getDbSearchResult(AFPChain afpChain)
public String printHelp()
UserArgumentProcessor
printHelp
in interface UserArgumentProcessor
Copyright © 2000–2019 BioJava. All rights reserved.