Class PreservationStep
- java.lang.Object
-
- fr.gouv.vitam.functionaltest.cucumber.step.PreservationStep
-
public class PreservationStep extends java.lang.Object
PreservationStep class
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EMPTY_JSON_FILE
-
Constructor Summary
Constructors Constructor Description PreservationStep(World world)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteAllPreservationBaseData()
void
importGriffin(java.lang.String fileName)
void
importPreservation(java.lang.String fileName)
void
launchPreservation(java.lang.String scenarioId, java.lang.String usage)
void
searchGriffinById(java.lang.String identifier)
void
searchNotExistantPreservationById(java.lang.String identifier)
void
searchNotGriffinById(java.lang.String identifier)
void
searchPreservationById(java.lang.String identifier)
-
-
-
Field Detail
-
EMPTY_JSON_FILE
public static final java.lang.String EMPTY_JSON_FILE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PreservationStep
public PreservationStep(World world)
-
-
Method Detail
-
importGriffin
@When("^j\'importe le griffon nomm\u00e9 (.*)$") public void importGriffin(java.lang.String fileName)
-
importPreservation
@When("^j\'importe le preservation Scenario nomm\u00e9 (.*)$") public void importPreservation(java.lang.String fileName)
-
searchGriffinById
@When("^je cherche le griffon nomm\u00e9 (.*)$") public void searchGriffinById(java.lang.String identifier) throws VitamClientException, InvalidParseOperationException
-
searchNotGriffinById
@Then("^le griffon nomm\u00e9 (.*) n\'existe pas$") public void searchNotGriffinById(java.lang.String identifier) throws VitamClientException
- Throws:
VitamClientException
-
searchNotExistantPreservationById
@Then("^le sc\u00e9nario de preservation nomm\u00e9 (.*) n\'existe pas$") public void searchNotExistantPreservationById(java.lang.String identifier) throws VitamClientException
- Throws:
VitamClientException
-
searchPreservationById
@When("^je cherche le sc\u00e9nario de preservation nomm\u00e9 (.*)$") public void searchPreservationById(java.lang.String identifier) throws java.lang.Exception
- Throws:
java.lang.Exception
-
deleteAllPreservationBaseData
@When("^je supprime les griffons et les sc\u00e9narios de pr\u00e9servation sur tous les tenants") public void deleteAllPreservationBaseData() throws java.lang.Exception
- Throws:
java.lang.Exception
-
launchPreservation
@When("^je lance la preservation avec le sc\u00e9nario (.*) et pour l\'usage (.*)$") public void launchPreservation(java.lang.String scenarioId, java.lang.String usage) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-