public final class Licenses extends Object
Constructor and Description |
---|
Licenses(Iterable<? extends com.atlassian.jira.upgrade.tasks.role.License> licenses) |
Modifier and Type | Method and Description |
---|---|
Licenses |
addLicense(com.atlassian.jira.upgrade.tasks.role.License license)
Add a license.
|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isEmpty() |
String |
toString() |
public Licenses(Iterable<? extends com.atlassian.jira.upgrade.tasks.role.License> licenses)
public boolean isEmpty()
public Licenses addLicense(com.atlassian.jira.upgrade.tasks.role.License license)
license
- the license to add.Licenses
object containing the passed license.MigrationFailedException
- if the passed license is already licensed.Copyright © 2002-2016 Atlassian. All Rights Reserved.