Class FileSystemArtifactExecutableOperandType
- java.lang.Object
-
- net.ssehub.easy.instantiation.core.model.buildlangModel.execOperand.FileSystemArtifactExecutableOperandType
-
- All Implemented Interfaces:
IExecutableOperandType
class FileSystemArtifactExecutableOperandType extends java.lang.Object implements IExecutableOperandType
An executable operand type forIFileSystemArtifact.- Author:
- Holger Eichelberger
-
-
Field Summary
Fields Modifier and Type Field Description static IExecutableOperandTypeINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description privateFileSystemArtifactExecutableOperandType()Prevents external creation.
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Field Detail
-
INSTANCE
public static final IExecutableOperandType INSTANCE
-
-
Method Detail
-
convert
public java.lang.String convert(java.lang.Object object) throws VilExceptionDescription copied from interface:IExecutableOperandTypeConverts an evaluated object into a string representing the name of the program to execute.- Specified by:
convertin interfaceIExecutableOperandType- Parameters:
object- the evaluated object- Returns:
- the string representing the external program
- Throws:
VilException- in case that something fails
-
sameType
public boolean sameType(TypeDescriptor<?> type)
Description copied from interface:IExecutableOperandTypeReturns whether the giventypeis the same as this class can process.- Specified by:
sameTypein interfaceIExecutableOperandType- Parameters:
type- the type to be checked- Returns:
trueif it is the same,falseelse
-
sameType
public boolean sameType(java.lang.Object object)
Description copied from interface:IExecutableOperandTypeReturns whether the object is of the sametypeas this class can process.- Specified by:
sameTypein interfaceIExecutableOperandType- Parameters:
object- tht object to be checked- Returns:
trueif it is the same,falseelse
-
-