Interface ChangeSetService


@OpenApiAll public interface ChangeSetService
Service to get information about Change Sets tab content.
  • 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

      boolean isSetTagOnCommit(String changeSetName) throws IllegalArgumentException
      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, otherwise false
      Throws:
      IllegalArgumentException - in case of incorrect or not existing change set name was passed.