Class Licenses
java.lang.Object
com.atlassian.jira.upgrade.tasks.role.Licenses
Represents the collection of licenses in renaissance migration (i.e. JIRA 6.x single use permission to JIRA 7.x
multiple application)
- Since:
- v7.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Licenses
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
addLicense
Add a license. This method will throw an exception if any of the applications in the passed license are already licensed.- Parameters:
license
- the license to add.- Returns:
- a new
Licenses
object containing the passed license. - Throws:
MigrationFailedException
- if the passed license is already licensed.
-
equals
-
hashCode
public int hashCode() -
toString
-