Interface IExecutableOperandType
-
- All Known Implementing Classes:
FileArtifactExecutableOperandType,FileSystemArtifactExecutableOperandType,PathExecutableOperandType,StringExecutableOperandType
public interface IExecutableOperandTypeOperates on the first operand of aStrategyCallExpressionin modeStrategyCallExpression.Type.EXECUTE.- Author:
- Holger Eichelberger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringconvert(java.lang.Object object)Converts an evaluated object into a string representing the name of the program to execute.booleansameType(java.lang.Object object)Returns whether the object is of the sametypeas this class can process.booleansameType(TypeDescriptor<?> type)Returns whether the giventypeis the same as this class can process.
-
-
-
Method Detail
-
convert
java.lang.String convert(java.lang.Object object) throws VilExceptionConverts an evaluated object into a string representing the name of the program to execute.- Parameters:
object- the evaluated object- Returns:
- the string representing the external program
- Throws:
VilException- in case that something fails
-
sameType
boolean sameType(TypeDescriptor<?> type)
Returns whether the giventypeis the same as this class can process.- Parameters:
type- the type to be checked- Returns:
trueif it is the same,falseelse
-
sameType
boolean sameType(java.lang.Object object)
Returns whether the object is of the sametypeas this class can process.- Parameters:
object- tht object to be checked- Returns:
trueif it is the same,falseelse
-
-