Interface ChangeSetService
@OpenApiAll
public interface ChangeSetService
Service to get information about Change Sets tab content.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets active change set and returns its name.getChangeSetContent
(String changeSetName) Returns collection of specific change set content.Gets all change sets names displayed in Change Set tab.getChangeSetState
(String changeSetName) Returns the state of specific change set which could be "Active" or "Suspended".boolean
isSetTagOnCommit
(String changeSetName) Checks if 'Tag version with Change ID after commit' is selected.
-
Method Details
-
getChangeSetNames
Collection<String> getChangeSetNames()Gets all change sets names displayed in Change Set tab.- Returns:
- collection of change sets names
-
getChangeSetContent
Collection<ChangeSetRepresentation> getChangeSetContent(String changeSetName) throws IllegalArgumentException Returns collection of specific change set content. Each item in collection represents hierarchical change set tab row.- Parameters:
changeSetName
- change set name- Returns:
- change set hierarchical content
- Throws:
IllegalArgumentException
- in case of incorrect or not existing change set name was passed.
-
getChangeSetState
ChangeSetService.ChangeSetState getChangeSetState(String changeSetName) throws IllegalArgumentException Returns the state of specific change set which could be "Active" or "Suspended".- Parameters:
changeSetName
- change set name- Returns:
- change set state
- Throws:
IllegalArgumentException
- in case of incorrect or not existing change set name was passed.
-
getActiveChangeSet
String getActiveChangeSet()Gets active change set and returns its name.- Returns:
- change set name
-
isSetTagOnCommit
Checks if 'Tag version with Change ID after commit' is selected. If true - change set name will be set as 'Version Tag' after commit.- Parameters:
changeSetName
- change set name- Returns:
true
if 'Tag version with Change ID after commit' is selected, otherwisefalse
- Throws:
IllegalArgumentException
- in case of incorrect or not existing change set name was passed.
-