public class IdentificationParametersInputBean extends Object
| Constructor and Description |
|---|
IdentificationParametersInputBean(org.apache.commons.cli.CommandLine aLine)
Takes all the arguments from a command line.
|
| Modifier and Type | Method and Description |
|---|---|
File |
getDestinationFile()
Returns the file where to save the identification parameters.
|
SearchParameters |
getSearchParameters()
Returns the search parameters.
|
Boolean |
isListMods()
Indicates whether the modifications should be printed on the screen.
|
static boolean |
isValidModifications(org.apache.commons.cli.CommandLine aLine)
Verifies that modifications are correctly recognized.
|
static boolean |
isValidStartup(org.apache.commons.cli.CommandLine aLine)
Verifies the command line start parameters.
|
public IdentificationParametersInputBean(org.apache.commons.cli.CommandLine aLine)
throws FileNotFoundException,
IOException,
ClassNotFoundException
aLine - the command lineFileNotFoundExceptionIOExceptionClassNotFoundExceptionpublic SearchParameters getSearchParameters()
public File getDestinationFile()
public Boolean isListMods()
public static boolean isValidModifications(org.apache.commons.cli.CommandLine aLine)
throws IOException
aLine - the command line to validateIOExceptionpublic static boolean isValidStartup(org.apache.commons.cli.CommandLine aLine)
throws IOException
aLine - the command line to validateIOExceptionCopyright © 2014. All rights reserved.