Interface IPlatformMethodProvider
-
public interface IPlatformMethodProvider
Platform method provider interface to provide custom method creation for tests.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Collection<String>
getAllMethodNames()
Returns all registered method names.Method
getMethod(String methodName)
Returns method for the provided method name ornull
if the name is not appropriate for this method provider.default Map<String,String>
getMethodUserData(String methodName)
Returns custom method user data of the corresponding methodEObject
provider.
-
-
-
Method Detail
-
getMethod
Method getMethod(String methodName)
Returns method for the provided method name ornull
if the name is not appropriate for this method provider.- Parameters:
methodName
- the font name, cannot benull
- 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 methodEObject
provider. Returns empty user data by default.- Parameters:
methodName
- the method name, cannot benull
- 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
-
-