Interface IExecutableOperandType

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String convert​(java.lang.Object object)
      Converts an evaluated object into a string representing the name of the program to execute.
      boolean sameType​(java.lang.Object object)
      Returns whether the object is of the same type as this class can process.
      boolean sameType​(TypeDescriptor<?> type)
      Returns whether the given type is the same as this class can process.
    • Method Detail

      • convert

        java.lang.String convert​(java.lang.Object object)
                          throws VilException
        Converts 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 given type is the same as this class can process.
        Parameters:
        type - the type to be checked
        Returns:
        true if it is the same, false else
      • sameType

        boolean sameType​(java.lang.Object object)
        Returns whether the object is of the same type as this class can process.
        Parameters:
        object - tht object to be checked
        Returns:
        true if it is the same, false else