|
Version: ${maven.project.version} | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.soaplab.services.metadata.ParamDef org.soaplab.services.metadata.StdParamDef org.soaplab.services.metadata.IOParamDef
public class IOParamDef
A data structure defining input/output types of an analysis tools. For input data, it defines how to feed an application with the input data, and for output, it specifies where to catch the output data from an application.
Supported types are:
input an input data which are not eaten by the app's standard input stdin send data to app's standard input output an output data which are not produced by standard stream stdout catch data from app's standard output stderr catch data from app's standard error stream
Field Summary | |
---|---|
static int |
FORMAT_DIRECT
|
static int |
FORMAT_UNSPECIFIED
|
static int |
FORMAT_URL
|
static java.lang.String |
INPUT_ADAPTOR
An option name. |
int |
ioFormat
|
int |
ioType
|
static java.lang.String |
OUTPUT_ADAPTOR
An option name. |
static java.lang.String |
SPECIAL_TYPE
An option name. |
static int |
TYPE_INPUT
Input/output types. |
static int |
TYPE_OUTPUT
|
static int |
TYPE_STDERR
|
static int |
TYPE_STDIN
|
static int |
TYPE_STDOUT
|
Fields inherited from class org.soaplab.services.metadata.StdParamDef |
---|
lists, repeat |
Fields inherited from class org.soaplab.services.metadata.ParamDef |
---|
BASE_PARAMETER, CHOICE_LIST_PARAMETER, CHOICE_PARAMETER, conds, createdFor, dflt, ENVAR, FALSEVALUE, id, IO_PARAMETER, MANDATORY, METHOD, NODISPLAY, options, ORDERING, RANGE_PARAMETER, READONLY, SEPARATOR, SERVER_CLASS, STANDARD_PARAMETER, TAG, TAGSEPAR, TRUEVALUE, type, USE_DEFAULTS |
Constructor Summary | |
---|---|
IOParamDef()
A default constructor. |
Method Summary | |
---|---|
java.lang.String |
format(int indent)
As toString() but with indentations. |
java.lang.String |
getIOFormatAsString()
|
java.lang.String |
getIOTypeAsString()
|
java.lang.String |
getStrippedName()
Return the beginning of its own name, stripped of the endings indicating the 'ioFormat' type. |
boolean |
isDirectData()
Return true if this definition represents direct data (and not reference nor unspecified data). |
boolean |
isInput()
Return true if this definition represents an input (either a regular or a standard input). |
boolean |
isOutput()
Return true if this definition represents an output (either a regular or a standard stream). |
boolean |
isReferenceData()
Return true if this definition represents reference data (and not direct nor unspecified data). |
boolean |
isRegularInput()
Return true if this definition represents a regular input (which excludes the standard input). |
boolean |
isRegularOutput()
Return true if this definition represents a regular output (which excludes the standard output and standard error output). |
boolean |
isStandardStream()
Return true if this definition represents any of the standard streams. |
boolean |
isStderr()
Return true if this definition represents a standard error. |
boolean |
isStdin()
Return true if this definition represents a standard input. |
boolean |
isStdout()
Return true if this definition represents a standard output. |
java.lang.String |
toString()
|
Methods inherited from class org.soaplab.services.metadata.StdParamDef |
---|
canBeRepeatable |
Methods inherited from class org.soaplab.services.metadata.ParamDef |
---|
add, exists, get, get, getInt, getInt, is, is |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String INPUT_ADAPTOR
public static final java.lang.String OUTPUT_ADAPTOR
public static final java.lang.String SPECIAL_TYPE
public static final int TYPE_INPUT
public static final int TYPE_STDIN
public static final int TYPE_OUTPUT
public static final int TYPE_STDOUT
public static final int TYPE_STDERR
public static final int FORMAT_DIRECT
public static final int FORMAT_URL
public static final int FORMAT_UNSPECIFIED
public int ioType
public int ioFormat
Constructor Detail |
---|
public IOParamDef()
Method Detail |
---|
public java.lang.String getIOTypeAsString()
public java.lang.String getIOFormatAsString()
public boolean isInput()
public boolean isOutput()
public boolean isRegularInput()
public boolean isStdout()
public boolean isStderr()
public boolean isStdin()
public boolean isRegularOutput()
public boolean isStandardStream()
public boolean isDirectData()
public boolean isReferenceData()
public java.lang.String getStrippedName()
public java.lang.String toString()
toString
in class StdParamDef
public java.lang.String format(int indent)
format
in class StdParamDef
|
Version: ${maven.project.version} | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |