|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdatabionics.modules.Tool
public class Tool
A program that processes data.
Field Summary | |
---|---|
protected java.lang.String |
command
command to run this tool |
protected java.lang.String |
description
description |
protected java.util.List |
inputTypes
list of file types needed when running this tool |
protected int |
interactiveParams
number interactive (non-file and non-constant parameters) |
protected static org.apache.log4j.Logger |
log
log4j logging |
protected java.lang.String |
name
name |
protected java.lang.String |
os
run only on this operating system if set |
protected java.util.List |
outputTypes
list of file type created by this tool |
protected java.util.List |
parameters
for calling the tool, these parameters are needed |
protected boolean |
showProgress
boolean: true, if there is a parameter, which shows the progress while running tool |
Constructor Summary | |
---|---|
Tool()
Default constructor |
Method Summary | |
---|---|
java.lang.String |
getCommand()
Get command to run this tool |
java.lang.String |
getDescription()
Get the description |
InputFileParameter |
getInputFileParameter(FileType t)
Get an InputFileParameter by the FileType |
java.util.List |
getInputFileParameters()
Get the fileparameters, which are used as inputfiles for the tool |
java.util.List |
getInputTypes()
Get the list of file types needed when running this tool |
int |
getInteractiveParams()
Get the number of interactive parameters, i.e. |
java.lang.String |
getName()
Get the name |
java.lang.String |
getOperatingSystem()
Get the os |
java.util.List |
getOutputFileParameters()
Get the fileparameters representing the created files |
java.util.List |
getOutputTypes()
Get the list of file type created by this tool |
Parameter |
getParameterByName(java.lang.String name)
Get a parameter by name |
java.util.List |
getParameters()
Get the list of parameters |
boolean |
hasInteractiveParams()
Check if there are parameters to be set by the user |
void |
setCommand(java.lang.String s)
Set command to run this tool |
void |
setDescription(java.lang.String s)
Set the description |
void |
setName(java.lang.String s)
Set the name |
void |
setOperatingSystem(java.lang.String s)
Set the os |
void |
setShowProgress(boolean show)
Set flag whether show progress when running this tool |
boolean |
showProgress()
Get flag whether show progress when running this tool |
static Tool |
valueOf(org.w3c.dom.Element el)
Create a Tool from an XML tag |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.apache.log4j.Logger log
protected java.lang.String name
protected java.lang.String command
protected java.lang.String description
protected java.lang.String os
protected java.util.List inputTypes
protected java.util.List outputTypes
protected java.util.List parameters
protected boolean showProgress
protected int interactiveParams
Constructor Detail |
---|
public Tool()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String s)
public java.lang.String getCommand()
public void setCommand(java.lang.String s)
public java.lang.String getDescription()
public void setDescription(java.lang.String s)
public java.lang.String getOperatingSystem()
public void setOperatingSystem(java.lang.String s)
public java.util.List getInputTypes()
public java.util.List getOutputTypes()
public java.util.List getParameters()
public Parameter getParameterByName(java.lang.String name)
name
-
public java.util.List getInputFileParameters()
public InputFileParameter getInputFileParameter(FileType t)
FileType
-
public java.util.List getOutputFileParameters()
public boolean showProgress()
public void setShowProgress(boolean show)
public int getInteractiveParams()
public boolean hasInteractiveParams()
public static Tool valueOf(org.w3c.dom.Element el)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |