Package com.testmonitor.actions
Class Milestones
java.lang.Object
com.testmonitor.actions.Milestones
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a milestoneCreate a milestone with a given name.findOrCreate(String search) Find or create a milestone.list()Search a milestoneUpdate a milestone
-
Constructor Details
-
Milestones
- Parameters:
connector- The TestMonitor connector to perfom HTTP requestsproject- The project you want to work on
-
-
Method Details
-
list
- Returns:
- A list of milestones
-
list
- Returns:
- A list of milestones
-
list
- Returns:
- A list of milestones
-
get
- Parameters:
id- The milestone ID- Returns:
- The milestone that matches the ID
-
search
Search a milestone- Parameters:
search- The search string- Returns:
- A list of results
-
create
Create a milestone with a given name.- Parameters:
name- The name of the milestone- Returns:
- The created milestone
-
create
Create a milestone- Parameters:
milestone- The milestone you want to create- Returns:
- The created test suite
-
findOrCreate
Find or create a milestone. When the test suite is not found there will be a milestone created.- Parameters:
search- The search query- Returns:
- The first result or a fresh created test suite
-
update
Update a milestone- Parameters:
milestone- The milestone you want to update- Returns:
- A new instance of the milestone
-