Package com.atlassian.bamboo.utils
Class RequirementUtils
- java.lang.Object
-
- com.atlassian.bamboo.utils.RequirementUtils
-
public class RequirementUtils extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RequirementUtils.MinimalRequirementSetImpl
-
Constructor Summary
Constructors Constructor Description RequirementUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
updateRequirement(RequirementSet requirementSet, String newRequirementKey, String oldRequirementKey, boolean override)
Update requirement key
-
-
-
Method Detail
-
updateRequirement
public static boolean updateRequirement(RequirementSet requirementSet, String newRequirementKey, String oldRequirementKey, boolean override)
Update requirement key- Parameters:
requirementSet
- which should be updatednewRequirementKey
- new keyoldRequirementKey
- old keyoverride
- should new key override value of old key- Returns:
- if requirement was updated and requirement set should be saved to DB
-
-