Package com.applitools.utils
Class ReadOnlyPropertyHandler<T>
java.lang.Object
com.applitools.utils.ReadOnlyPropertyHandler<T>
- All Implemented Interfaces:
PropertyHandler<T>
A property handler for read-only properties (i.e., set always fails).
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ReadOnlyPropertyHandler
-
-
Method Details
-
set
This method does nothing. It simply returns false.- Specified by:
setin interfacePropertyHandler<T>- Parameters:
obj- The object to set.- Returns:
- Always returns false.
-
get
- Specified by:
getin interfacePropertyHandler<T>- Returns:
- The object that was set. (Note that object might also be set in the constructor of an implementation class).
-