Class ClientFunctorScriptsUtil
- java.lang.Object
-
- org.oa4mp.delegation.server.scripts.server.ClientJSONConfigUtil
-
- org.oa4mp.delegation.server.functor.scripts.server.ClientFunctorScriptsUtil
-
public class ClientFunctorScriptsUtil extends ClientJSONConfigUtil
Created by Jeff Gaynor
on 2/5/20 at 2:19 PM
-
-
Field Summary
Fields Modifier and Type Field Description static String
CLAIM_POST_PROCESSING_KEY
static String
CLAIM_PRE_PROCESSING_KEY
static String
RUNTIME_KEY
-
Fields inherited from class edu.uiuc.ncsa.oa4mp.delegation.oa2.server.scripts.ClientJSONConfigUtil
COMMENT_KEY, SAVED_KEY
-
-
Constructor Summary
Constructors Constructor Description ClientFunctorScriptsUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static net.sf.json.JSONObject
getProcessor(net.sf.json.JSONObject config, String key, String defaultFunctor)
Retrieve the processor named by key.static net.sf.json.JSONObject
getRuntime(net.sf.json.JSONObject config)
static net.sf.json.JSONArray
getRuntimeArg(net.sf.json.JSONObject config)
static boolean
hasRuntime(net.sf.json.JSONObject config)
static void
setRuntime(net.sf.json.JSONObject config, net.sf.json.JSONObject runtime)
-
Methods inherited from class edu.uiuc.ncsa.oa4mp.delegation.oa2.server.scripts.ClientJSONConfigUtil
getComment, getThingies, getThingy, hasThingy, setComment, setComment, setThingy
-
-
-
-
Field Detail
-
CLAIM_POST_PROCESSING_KEY
public static final String CLAIM_POST_PROCESSING_KEY
- See Also:
- Constant Field Values
-
CLAIM_PRE_PROCESSING_KEY
public static final String CLAIM_PRE_PROCESSING_KEY
- See Also:
- Constant Field Values
-
RUNTIME_KEY
public static final String RUNTIME_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
setRuntime
public static void setRuntime(net.sf.json.JSONObject config, net.sf.json.JSONObject runtime)
-
hasRuntime
public static boolean hasRuntime(net.sf.json.JSONObject config)
-
getRuntime
public static net.sf.json.JSONObject getRuntime(net.sf.json.JSONObject config)
-
getProcessor
protected static net.sf.json.JSONObject getProcessor(net.sf.json.JSONObject config, String key, String defaultFunctor)
Retrieve the processor named by key. Processors are eventuallyLogicBlocks
.- Parameters:
config
-key
-defaultFunctor
-- Returns:
-
getRuntimeArg
public static net.sf.json.JSONArray getRuntimeArg(net.sf.json.JSONObject config)
-
-