Package com.polarion.alm.tracker
Interface IRichPageSelector<T>
public interface IRichPageSelector<T>
Interface for selecting the rich page using optional project id and revision and mandatory page path or space id and page name.
The selection is finished by using
path(String)
or spaceAndName(String, String)
method
and the selector object cannot be used anymore after that.- Since:
- 3.9.0
-
Method Summary
Modifier and TypeMethodDescriptionFinishes selecting the page using the relative path to page.Optionally specify a project, must be used beforepath(String)
orspaceAndName(String, String)
Optionally specify a revision, must be used beforepath(String)
orspaceAndName(String, String)
spaceAndName
(String spaceId, String pageName) Finishes selecting the page using the space id and page name as separate parameters.
-
Method Details
-
project
Optionally specify a project, must be used beforepath(String)
orspaceAndName(String, String)
- Returns:
- returns the same instance to allow method chaining
- Throws:
IllegalStateException
- after the selection was finished
-
revision
Optionally specify a revision, must be used beforepath(String)
orspaceAndName(String, String)
- Returns:
- returns the same instance to allow method chaining
- Throws:
IllegalStateException
- after the selection was finished
-
path
Finishes selecting the page using the relative path to page.- Parameters:
pagePath
- - the path is separated by slash ('/') and when it does not contain the slash, then the _default space is assumed- Throws:
IllegalStateException
- after the selection was finished
-
spaceAndName
Finishes selecting the page using the space id and page name as separate parameters.- Parameters:
spaceId
- - The space id. When null, then the _default space is assumed- Throws:
IllegalStateException
- after the selection was finished
-