@Component @Scope(value="prototype") public class ValidationFacility extends Object implements Facility
| Constructor and Description |
|---|
ValidationFacility() |
| Modifier and Type | Method and Description |
|---|---|
LogTrain |
addActionStep(TestStepTarget target,
org.squashtest.tm.domain.testcase.ActionTestStep testStep,
Map<String,String> cufValues) |
LogTrain |
addCallStep(TestStepTarget target,
org.squashtest.tm.domain.testcase.CallTestStep testStep,
TestCaseTarget calledTestCase,
CallStepParamsInfo paramInfo,
org.squashtest.tm.domain.testcase.ActionTestStep actionStepBackup) |
LogTrain |
createCoverage(CoverageInstruction instr) |
LogTrain |
createDataset(DatasetTarget dataset)
The creation of a dataset is idempotent (if such dataset exists it wont be created twice)
|
LogTrain |
createParameter(ParameterTarget target,
org.squashtest.tm.domain.testcase.Parameter param) |
LogTrain |
createRequirementLink(RequirementLinkInstruction instr)
Will bind two requirement versions with a RequirementLink
|
LogTrain |
createRequirementVersion(RequirementVersionInstruction instr)
Will create a RequirementVersion.
|
LogTrain |
createTestCase(TestCaseInstruction instr)
Does exactly the same as the method above but with other arguments.
|
LogTrain |
deleteDataset(DatasetTarget dataset) |
LogTrain |
deleteParameter(ParameterTarget target) |
LogTrain |
deleteRequirementLink(RequirementLinkInstruction instr)
Will remove a link between two requirements
|
LogTrain |
deleteRequirementVersion(RequirementVersionInstruction instr)
Will delete a RequirementVersion when implemented some day, today it
is not and will log a Failure if invoked.
|
LogTrain |
deleteTestCase(TestCaseTarget target) |
LogTrain |
deleteTestStep(TestStepTarget target) |
LogTrain |
failsafeUpdateParameterValue(DatasetTarget dataset,
ParameterTarget param,
String value,
boolean isUpdate)
Will update the value for the given parameter in the given dataset.
|
InfoListItemFinderService |
getInfoListItemService() |
Model |
getModel() |
LogTrain |
updateActionStep(TestStepTarget target,
org.squashtest.tm.domain.testcase.ActionTestStep testStep,
Map<String,String> cufValues) |
LogTrain |
updateCallStep(TestStepTarget target,
org.squashtest.tm.domain.testcase.CallTestStep testStep,
TestCaseTarget calledTestCase,
CallStepParamsInfo paramInfos,
org.squashtest.tm.domain.testcase.ActionTestStep actionStepBackup) |
LogTrain |
updateParameter(ParameterTarget target,
org.squashtest.tm.domain.testcase.Parameter param) |
LogTrain |
updateRequirementLink(RequirementLinkInstruction instr)
Will update the link between two requirements
|
LogTrain |
updateRequirementVersion(RequirementVersionInstruction instr)
Updates a RequiremenVersion with a new content.
|
LogTrain |
updateTestCase(TestCaseInstruction instr)
Does exactly the same as the method above but with other arguments.
|
public Model getModel()
public InfoListItemFinderService getInfoListItemService()
public LogTrain deleteTestCase(TestCaseTarget target)
deleteTestCase in interface Facilitypublic LogTrain addActionStep(TestStepTarget target, org.squashtest.tm.domain.testcase.ActionTestStep testStep, Map<String,String> cufValues)
addActionStep in interface Facilitypublic LogTrain addCallStep(TestStepTarget target, org.squashtest.tm.domain.testcase.CallTestStep testStep, TestCaseTarget calledTestCase, CallStepParamsInfo paramInfo, org.squashtest.tm.domain.testcase.ActionTestStep actionStepBackup)
addCallStep in interface Facilitypublic LogTrain updateActionStep(TestStepTarget target, org.squashtest.tm.domain.testcase.ActionTestStep testStep, Map<String,String> cufValues)
updateActionStep in interface Facilitypublic LogTrain updateCallStep(TestStepTarget target, org.squashtest.tm.domain.testcase.CallTestStep testStep, TestCaseTarget calledTestCase, CallStepParamsInfo paramInfos, org.squashtest.tm.domain.testcase.ActionTestStep actionStepBackup)
updateCallStep in interface Facilitypublic LogTrain deleteTestStep(TestStepTarget target)
deleteTestStep in interface Facilitypublic LogTrain createParameter(ParameterTarget target, org.squashtest.tm.domain.testcase.Parameter param)
createParameter in interface Facilitypublic LogTrain updateParameter(ParameterTarget target, org.squashtest.tm.domain.testcase.Parameter param)
updateParameter in interface Facilitypublic LogTrain deleteParameter(ParameterTarget target)
deleteParameter in interface Facilitypublic LogTrain failsafeUpdateParameterValue(DatasetTarget dataset, ParameterTarget param, String value, boolean isUpdate)
FacilityfailsafeUpdateParameterValue in interface Facilitypublic LogTrain createDataset(DatasetTarget dataset)
FacilitycreateDataset in interface Facilitypublic LogTrain deleteDataset(DatasetTarget dataset)
deleteDataset in interface Facilitypublic LogTrain createTestCase(TestCaseInstruction instr)
FacilitycreateTestCase in interface FacilityFacility.createTestCase(org.squashtest.tm.service.internal.batchimport.TestCaseInstruction)public LogTrain updateTestCase(TestCaseInstruction instr)
FacilityupdateTestCase in interface FacilityFacility.updateTestCase(org.squashtest.tm.service.internal.batchimport.TestCaseInstruction)public LogTrain createRequirementVersion(RequirementVersionInstruction instr)
FacilitycreateRequirementVersion in interface Facilitypublic LogTrain updateRequirementVersion(RequirementVersionInstruction instr)
FacilityupdateRequirementVersion in interface Facilitypublic LogTrain deleteRequirementVersion(RequirementVersionInstruction instr)
FacilitydeleteRequirementVersion in interface Facilitypublic LogTrain createCoverage(CoverageInstruction instr)
createCoverage in interface Facilitypublic LogTrain createRequirementLink(RequirementLinkInstruction instr)
FacilitycreateRequirementLink in interface Facilitypublic LogTrain updateRequirementLink(RequirementLinkInstruction instr)
FacilityupdateRequirementLink in interface Facilitypublic LogTrain deleteRequirementLink(RequirementLinkInstruction instr)
FacilitydeleteRequirementLink in interface FacilityCopyright © 2010–2017 Henix, henix.fr. All rights reserved.