Package com.applitools.utils
Interface PropertyHandler<T>
- All Known Implementing Classes:
ReadOnlyPropertyHandler,SimplePropertyHandler
public interface PropertyHandler<T>
Encapsulates getter/setter behavior. (e.g., set only once etc.).
-
Method Summary
-
Method Details
-
set
- Parameters:
obj- The object to set.- Returns:
trueif the object was set,falseotherwise.
-
get
T get()- Returns:
- The object that was set. (Note that object might also be set in the constructor of an implementation class).
-