Package com.comsol.model
Interface BatchFeature
-
- All Superinterfaces:
ModelEntity,PrimitiveModelEntity,PropFeature,SelectionContainer,SelectionEntity
public interface BatchFeature extends PropFeature
A batch job or a task.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidattach(java.lang.String study)Attaches a batch job to a study, which includes assigning it to the study.voidcontinueRun()Continues the batch job.BatchFeaturecreate(java.lang.String tag, java.lang.String oper)Create a batch feature.voiddetach()Detaches the batch job from its study.BatchFeatureListfeature()Returns the tasks of a batch job.BatchFeaturefeature(java.lang.String tag)Returns a task.java.lang.StringgetErrorMessage()Returns error message.java.lang.StringgetInformationMessage()Returns information message.voidgetInitialValue()Computes initial value for the batch job.java.lang.StringgetWarningMessage()Returns warning message.booleanhasError()Check for error in batch feature.booleanhasInformation()Check for information in batch feature.booleanhasProblems()Check for problem in batch feature.booleanhasProblemsOrInformation()Check for problems or information nodes in batch feature.booleanhasWarning()Check for warning in batch feature.booleanisAttached()Test if batch job is attached to a study.ProblemListproblem()Returns batch problem feature list.ProblemFeatureproblem(java.lang.String fname)Returns batch problem feature.voidrun()Runs the batch job.voidrun(boolean createPlots)Runs the batch job and creates plots.voidrun(java.lang.String actionType)Runs the batch job.java.lang.Stringstudy()Returns the study of the batch job.voidstudy(java.lang.String tag)Assigns a batch job to a study.-
Methods inherited from interface com.comsol.model.ModelEntity
active, author, author, comments, comments, dateCreated, dateModified, docMarker, docMarker, help, help, icon, isactive, isActive, label, label, lastModifiedBy, model, model, name, name, resetAuthor, scope, tag, tag, timeCreated, timeModified, version, version
-
Methods inherited from interface com.comsol.model.PrimitiveModelEntity
getContainer, getDisplayString, resolveModelPath
-
Methods inherited from interface com.comsol.model.PropFeature
getAllowedPropertyValues, getBoolean, getBoolean, getBoolean, getBooleanArray, getBooleanMatrix, getDouble, getDouble, getDouble, getDoubleArray, getDoubleMatrix, getEntryKeyIndex, getEntryKeys, getInt, getInt, getInt, getIntArray, getIntMatrix, getReferenceArray, getString, getString, getString, getString, getStringArray, getStringMatrix, getType, getValueType, hasProperty, hasSelection, move, move, properties, remove, remove, selection, set, set, set, set, set, set, set, set, set, set, set, set, setEntry, setEntry, setEntry, setEntry, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex
-
Methods inherited from interface com.comsol.model.SelectionEntity
selection
-
-
-
-
Method Detail
-
attach
void attach(java.lang.String study)
Attaches a batch job to a study, which includes assigning it to the study.- Parameters:
study- Study tag.
-
continueRun
void continueRun()
Continues the batch job.
-
create
BatchFeature create(java.lang.String tag, java.lang.String oper)
Create a batch feature.- Parameters:
tag- Feature tag.oper- Type of feature.- Returns:
- Created batch feature.
-
detach
void detach()
Detaches the batch job from its study.
-
feature
BatchFeatureList feature()
Returns the tasks of a batch job.- Returns:
- List of tasks.
-
feature
BatchFeature feature(java.lang.String tag)
Returns a task.- Parameters:
tag- Task tag.- Returns:
- Task.
-
getErrorMessage
java.lang.String getErrorMessage()
Returns error message.- Returns:
- Error message.
-
getInformationMessage
java.lang.String getInformationMessage()
Returns information message.- Returns:
- Information message.
-
getInitialValue
void getInitialValue()
Computes initial value for the batch job.
-
getWarningMessage
java.lang.String getWarningMessage()
Returns warning message.- Returns:
- Warning message.
-
hasError
boolean hasError()
Check for error in batch feature.- Returns:
trueif error.
-
hasInformation
boolean hasInformation()
Check for information in batch feature.- Returns:
trueif information.
-
hasProblems
boolean hasProblems()
Check for problem in batch feature.- Returns:
trueif problem.
-
hasProblemsOrInformation
boolean hasProblemsOrInformation()
Check for problems or information nodes in batch feature.- Returns:
trueif problems or information nodes.
-
hasWarning
boolean hasWarning()
Check for warning in batch feature.- Returns:
trueif warning.
-
isAttached
boolean isAttached()
Test if batch job is attached to a study.- Returns:
trueif attached.
-
problem
ProblemList problem()
Returns batch problem feature list.- Returns:
- List of batch problems.
-
problem
ProblemFeature problem(java.lang.String fname)
Returns batch problem feature.- Parameters:
fname- Batch problem feature tag.- Returns:
- Batch problem feature.
-
run
void run()
Runs the batch job.
-
run
void run(java.lang.String actionType)
Runs the batch job.- Parameters:
actionType- action type.
-
run
void run(boolean createPlots)
Runs the batch job and creates plots.- Parameters:
createPlots- Create plots.
-
study
java.lang.String study()
Returns the study of the batch job.- Returns:
- Study tag.
-
study
void study(java.lang.String tag)
Assigns a batch job to a study.- Parameters:
tag- Study tag.
-
-