com.qa.framework.cache.ResultCache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smart-ui-framework Show documentation
Show all versions of smart-ui-framework Show documentation
Support web and moblie automaton based on selenium and appium
package com.qa.framework.cache;
import com.qa.framework.bean.Method;
import java.util.HashMap;
/**
* Created by kcgw001 on 2016/2/2.
*/
public class ResultCache {
private static ThreadLocal> ResultCache = new ThreadLocal<>();
/**
* Set.
*
* @param hashMap the hash map
*/
public static void set(HashMap hashMap) {
ResultCache.set(hashMap);
}
/**
* Get hash map.
*
* @return the hash map
*/
public static HashMap get() {
return ResultCache.get();
}
}