Interface ChangeSetService
-
@OpenApiAll public interface ChangeSetServiceService to get information about Change Sets tab content.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classChangeSetService.ChangeSetState
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetActiveChangeSet()Gets active change set and returns its name.java.util.Collection<ChangeSetRepresentation>getChangeSetContent(java.lang.String changeSetName)Returns collection of specific change set content.java.util.Collection<java.lang.String>getChangeSetNames()Gets all change sets names displayed in Change Set tab.ChangeSetService.ChangeSetStategetChangeSetState(java.lang.String changeSetName)Returns the state of specific change set which could be "Active" or "Suspended".booleanisSetTagOnCommit(java.lang.String changeSetName)Checks if 'Tag version with Change ID after commit' is selected.
-
-
-
Method Detail
-
getChangeSetNames
java.util.Collection<java.lang.String> getChangeSetNames()
Gets all change sets names displayed in Change Set tab.- Returns:
- collection of change sets names
-
getChangeSetContent
java.util.Collection<ChangeSetRepresentation> getChangeSetContent(java.lang.String changeSetName) throws java.lang.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:
java.lang.IllegalArgumentException- in case of incorrect or not existing change set name was passed.
-
getChangeSetState
ChangeSetService.ChangeSetState getChangeSetState(java.lang.String changeSetName) throws java.lang.IllegalArgumentException
Returns the state of specific change set which could be "Active" or "Suspended".- Parameters:
changeSetName- change set name- Returns:
- change set state
- Throws:
java.lang.IllegalArgumentException- in case of incorrect or not existing change set name was passed.
-
getActiveChangeSet
java.lang.String getActiveChangeSet()
Gets active change set and returns its name.- Returns:
- change set name
-
isSetTagOnCommit
boolean isSetTagOnCommit(java.lang.String changeSetName) throws java.lang.IllegalArgumentExceptionChecks 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:
trueif 'Tag version with Change ID after commit' is selected, otherwisefalse- Throws:
java.lang.IllegalArgumentException- in case of incorrect or not existing change set name was passed.
-
-