Package step.plugins.cypress
Class CypressFunctionHandler
- java.lang.Object
-
- step.functions.handler.AbstractFunctionHandler<javax.json.JsonObject,javax.json.JsonObject>
-
- step.functions.handler.JsonBasedFunctionHandler
-
- step.plugins.cypress.CypressFunctionHandler
-
public class CypressFunctionHandler extends step.functions.handler.JsonBasedFunctionHandler
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BASE_URL
static java.lang.String
COMMAND
static java.lang.String
CYPRESS_MANAGER_PORT
static java.lang.String
PROJECT_FILE
static java.lang.String
SPEC
-
Constructor Summary
Constructors Constructor Description CypressFunctionHandler()
-
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
-
BASE_URL
public static final java.lang.String BASE_URL
- See Also:
- Constant Field Values
-
COMMAND
public static final java.lang.String COMMAND
- See Also:
- Constant Field Values
-
SPEC
public static final java.lang.String SPEC
- See Also:
- Constant Field Values
-
PROJECT_FILE
public static final java.lang.String PROJECT_FILE
- See Also:
- Constant Field Values
-
CYPRESS_MANAGER_PORT
public static final java.lang.String CYPRESS_MANAGER_PORT
- 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) throws java.lang.Exception
- Specified by:
handle
in classstep.functions.handler.AbstractFunctionHandler<javax.json.JsonObject,javax.json.JsonObject>
- Throws:
java.lang.Exception
-
initialize
public void initialize()
- Overrides:
initialize
in classstep.functions.handler.AbstractFunctionHandler<javax.json.JsonObject,javax.json.JsonObject>
-
-