com.applitools.utils.PropertyHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eyes-sdk-core-java5 Show documentation
Show all versions of eyes-sdk-core-java5 Show documentation
Applitools Eyes SDK base for Java
package com.applitools.utils;
/**
* Encapsulates getter/setter behavior. (e.g., set only once etc.).
*/
public interface PropertyHandler {
/**
*
* @param obj The object to set.
* @return {@code true} if the object was set, {@code false} otherwise.
*/
boolean set(T obj);
/**
*
* @return The object that was set. (Note that object might also be set
* in the constructor of an implementation class).
*/
T get();
}