Interface IValueTypedModification

  • All Known Subinterfaces:
    IBslVariable

    public interface IValueTypedModification
    Provides the ability to modify the value and type of a variable in a target.

    Clients may implement this interface.

    See Also:
    IVariable, IValueModification
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T> void setTypedValue​(T value)
      Attempts to set the value and the type of this variable with the given type modification.
      <T> boolean verifyTypedValue​(T value)
      Returns whether the given type modification is valid to be used in setting a new value and type for this variable.
    • Method Detail

      • setTypedValue

        <T> void setTypedValue​(T value)
                        throws org.eclipse.debug.core.DebugException
        Attempts to set the value and the type of this variable with the given type modification.
        Parameters:
        value - the new value, cannot be null
        type - the new value type, cannot be null
        Throws:
        org.eclipse.debug.core.DebugException - if modification fails
      • verifyTypedValue

        <T> boolean verifyTypedValue​(T value)
                              throws org.eclipse.debug.core.DebugException
        Returns whether the given type modification is valid to be used in setting a new value and type for this variable.
        Parameters:
        value - the new value, cannot be null
        type - the new value type, cannot be null
        Throws:
        org.eclipse.debug.core.DebugException - if verification fails