com.applitools.utils.SimplePropertyHandler 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;
/**
* A simple implementation of {@link PropertyHandler}. Allows get/set.
*/
public class SimplePropertyHandler implements PropertyHandler {
private T obj;
/**
* {@inheritDoc}
*/
public boolean set(T obj) {
this.obj = obj;
return true;
}
/**
* {@inheritDoc}
*/
public T get() {
return obj;
}
}