Interface IPlatformMethodProvider


  • public interface IPlatformMethodProvider
    Platform method provider interface to provide custom method creation for tests.
    • Method Detail

      • getMethod

        Method getMethod​(String methodName)
        Returns method for the provided method name or null if the name is not appropriate for this method provider.
        Parameters:
        methodName - the font name, cannot be null
        Returns:
        method for the provided method name or null if the name is not appropriate
      • getMethodUserData

        default Map<String,​String> getMethodUserData​(String methodName)
        Returns custom method user data of the corresponding method EObject provider. Returns empty user data by default.
        Parameters:
        methodName - the method name, cannot be null
        Returns:
        a map of font user data, never null
      • getAllMethodNames

        default Collection<String> getAllMethodNames()
        Returns all registered method names. . Returns empty collection by default.
        Returns:
        a collection of registered method names, never null