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