Package es.bsc.dataclay
Class DataClayMockObject
- java.lang.Object
-
- es.bsc.dataclay.DataClayMockObject
-
public final class DataClayMockObject extends Object
DataClayObject class for mock tests.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataClayRuntimegetLib()Get DataService client librarystatic voidremoveCurrentThreadLib()Remove common lib to use by current threadstatic voidsetCurrentThreadLib(DataClayRuntime dsLib)Add common lib to use by current thread
-
-
-
Method Detail
-
setCurrentThreadLib
public static void setCurrentThreadLib(DataClayRuntime dsLib)
Add common lib to use by current thread- Parameters:
threadID- Thread iddsLib- DS lib to use
-
removeCurrentThreadLib
public static void removeCurrentThreadLib()
Remove common lib to use by current thread- Parameters:
threadID- Thread id
-
getLib
public static DataClayRuntime getLib()
Get DataService client library- Returns:
- DataService client library
-
-