public static class TimeCondition.TimeConditionParameterSet extends AbstractTerminationCondition.AbstractTerminationConditionParameterSet
TimeCondition
.ParameterSet.ParameterList
errorMessage, parameters, parent
Constructor and Description |
---|
TimeConditionParameterSet()
This constructor creates an empty parameter set.
|
TimeConditionParameterSet(double seconds)
This constructor creates a filled instance of a parameters set.
|
TimeConditionParameterSet(StringBuffer xml)
The standard constructor for the interface
Storable . |
Modifier and Type | Method and Description |
---|---|
String |
getInstanceComment()
Returns a comment (a textual description) of the class that can be
constructed using this
ParameterSet . |
String |
getInstanceName()
Returns the name of an instance of the class that can be constructed
using this
ParameterSet . |
clone
fromXML, getInstance, getInstanceClass, toXML
fromGalaxy, getAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getNumberOfParameters, getParameterAt, getParameterForName, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, reset, setParent, toGalaxy
public TimeConditionParameterSet()
public TimeConditionParameterSet(StringBuffer xml) throws NonParsableException
Storable
.
Constructs an TimeCondition.TimeConditionParameterSet
out of an XML representation.xml
- the XML representation as StringBuffer
NonParsableException
- if the TimeCondition.TimeConditionParameterSet
could not be
reconstructed out of the StringBuffer
representation
public TimeConditionParameterSet(double seconds) throws IllegalArgumentException, SimpleParameter.IllegalValueException
seconds
- the number of seconds until stopping the algorithmIllegalArgumentException
- if parameter can not be setSimpleParameter.IllegalValueException
- if parameter can not be setpublic String getInstanceComment()
InstanceParameterSet
ParameterSet
.getInstanceComment
in class InstanceParameterSet<AbstractTerminationCondition>
public String getInstanceName()
InstanceParameterSet
ParameterSet
.getInstanceName
in class InstanceParameterSet<AbstractTerminationCondition>