Package com.applitools.utils
Class SimplePropertyHandler<T>
java.lang.Object
com.applitools.utils.SimplePropertyHandler<T>
- All Implemented Interfaces:
PropertyHandler<T>
A simple implementation of
PropertyHandler. Allows get/set.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SimplePropertyHandler
public SimplePropertyHandler()
-
-
Method Details
-
set
- Specified by:
setin interfacePropertyHandler<T>- Parameters:
obj- The object to set.- Returns:
trueif the object was set,falseotherwise.
-
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).
-