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 lineFileNotFoundException
- if a FileNotFoundException occursIOException
- if an IOException occursClassNotFoundException
- if aClassNotFoundException ClassNotFoundException occurspublic 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 validateIOException
- if an IOException occurspublic static boolean isValidStartup(org.apache.commons.cli.CommandLine aLine) throws IOException
aLine
- the command line to validateIOException
- if an IOException occursCopyright © 2015. All rights reserved.