Interface TestRuns
- All Superinterfaces:
CanCreateModelObject<TestRunBuilder<UpdatableTestRun>>,HasExistenceCheck<TestRunSelector<Boolean>>,HasSelector<ModelObjectSelector<? extends TestRun,,?, TestRunReference>> HasTypes,ModelObjectsBase<TestRun,TestRunReference>
public interface TestRuns
extends ModelObjectsBase<TestRun,TestRunReference>, CanCreateModelObject<TestRunBuilder<UpdatableTestRun>>, HasTypes, HasExistenceCheck<TestRunSelector<Boolean>>
- Since:
- 3.9.0
-
Method Summary
Modifier and TypeMethodDescriptioncan()booleancanAddParameters(String projectId) Checks if the current user has the ADD PARAMETERS TO LIBRARY permissionTestRunSelector<? extends TestRun> getBy()Returns project level test parameters library.Methods inherited from interface com.polarion.alm.shared.api.model.CanCreateModelObject
createMethods inherited from interface com.polarion.alm.shared.api.model.HasExistenceCheck
existsMethods inherited from interface com.polarion.alm.shared.api.model.ModelObjectsBase
count, prototype, search
-
Method Details
-
getBy
- Specified by:
getByin interfaceHasSelector<ModelObjectSelector<? extends TestRun,?, TestRunReference>>
-
renderTestRecords
- Since:
- 3.9.2
-
testParametersLibrary
ScopeSelector<ParametersLibrary> testParametersLibrary()Returns project level test parameters library. Global definitions are not supported, so usingScopeSelector.global()orScopeSelector.forProject(String)with null value returns empty definitions.- Since:
- 3.9.2
-
canAddParameters
Checks if the current user has the ADD PARAMETERS TO LIBRARY permission- Parameters:
projectId- The id of the current project. If this parameter is null, check will be performed in global scope- Returns:
- true, if permission was granted
- Since:
- 3.9.2
-
can
- Since:
- 3.23.4
-