Class SampleMetaDataProvider.SleeperStep
java.lang.Object
com.kingsrook.sampleapp.metadata.SampleMetaDataProvider.SleeperStep
- All Implemented Interfaces:
BackendStep
- Enclosing class:
SampleMetaDataProvider
Testing backend step - just sleeps however long you ask it to (or, throws if
you don't provide a number of seconds to sleep).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic QBackendStepMetaData
void
run
(RunBackendStepInput runBackendStepInput, RunBackendStepOutput runBackendStepOutput) Execute the backend step - using the request as input, and the result as output.
-
Field Details
-
FIELD_SLEEP_MILLIS
- See Also:
-
-
Constructor Details
-
SleeperStep
public SleeperStep()
-
-
Method Details
-
run
public void run(RunBackendStepInput runBackendStepInput, RunBackendStepOutput runBackendStepOutput) throws QException Execute the backend step - using the request as input, and the result as output.- Specified by:
run
in interfaceBackendStep
- Throws:
QException
-
getMetaData
-