Package step.plugins.k6
Class K6FunctionHandler
- java.lang.Object
-
- step.functions.handler.AbstractFunctionHandler<javax.json.JsonObject,javax.json.JsonObject>
-
- step.functions.handler.JsonBasedFunctionHandler
-
- step.plugins.k6.K6FunctionHandler
-
public class K6FunctionHandler extends step.functions.handler.JsonBasedFunctionHandler
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
K6_INPUT_COMMAND_LINE
static java.lang.String
K6_INPUT_DURATION
static java.lang.String
K6_INPUT_ENVIRONMENT
static java.lang.String
K6_INPUT_ITERATIONS
static java.lang.String
K6_INPUT_SCRIPT
static java.lang.String
K6_INPUT_VUS
static java.lang.String
K6_INSTALL_FOLDER
static java.lang.String
K6_REPORT_NAME
static org.slf4j.Logger
logger
-
Constructor Summary
Constructors Constructor Description K6FunctionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description step.functions.io.Output<javax.json.JsonObject>
handle(step.functions.io.Input<javax.json.JsonObject> input)
void
initialize()
-
Methods inherited from class step.functions.handler.JsonBasedFunctionHandler
getInputPayloadClass, getOutputPayloadClass
-
Methods inherited from class step.functions.handler.AbstractFunctionHandler
delegate, delegate, getCurrentContext, getCurrentContext, getFileVersionId, getFunctionHandlerFactory, getProperties, getTokenReservationSession, getTokenSession, mergeAllProperties, pushLocalApplicationContext, pushLocalApplicationContext, pushLocalFolderApplicationContext, pushLocalFolderApplicationContext, pushRemoteApplicationContext, pushRemoteApplicationContext, retrieveFileVersion, runInContext, runInContext, setApplicationContextBuilder, setFileManagerClient, setFunctionHandlerFactory, setProperties, setTokenReservationSession, setTokenSession
-
-
-
-
Field Detail
-
logger
public static final org.slf4j.Logger logger
-
K6_INPUT_SCRIPT
public static final java.lang.String K6_INPUT_SCRIPT
- See Also:
- Constant Field Values
-
K6_INPUT_ITERATIONS
public static final java.lang.String K6_INPUT_ITERATIONS
- See Also:
- Constant Field Values
-
K6_INPUT_DURATION
public static final java.lang.String K6_INPUT_DURATION
- See Also:
- Constant Field Values
-
K6_INPUT_VUS
public static final java.lang.String K6_INPUT_VUS
- See Also:
- Constant Field Values
-
K6_INPUT_COMMAND_LINE
public static final java.lang.String K6_INPUT_COMMAND_LINE
- See Also:
- Constant Field Values
-
K6_INPUT_ENVIRONMENT
public static final java.lang.String K6_INPUT_ENVIRONMENT
- See Also:
- Constant Field Values
-
K6_INSTALL_FOLDER
public static final java.lang.String K6_INSTALL_FOLDER
- See Also:
- Constant Field Values
-
K6_REPORT_NAME
public static final java.lang.String K6_REPORT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
handle
public step.functions.io.Output<javax.json.JsonObject> handle(step.functions.io.Input<javax.json.JsonObject> input)
- Specified by:
handle
in classstep.functions.handler.AbstractFunctionHandler<javax.json.JsonObject,javax.json.JsonObject>
-
initialize
public void initialize()
- Overrides:
initialize
in classstep.functions.handler.AbstractFunctionHandler<javax.json.JsonObject,javax.json.JsonObject>
-
-