com.almworks.jira.structure.api.util.ItemDisplayable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of structure-api Show documentation
Show all versions of structure-api Show documentation
Public API for the Structure Plugin for JIRA
The newest version!
package com.almworks.jira.structure.api.util;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public class ItemDisplayable {
@NotNull
private final String myDescription;
@Nullable
private final String myUrl;
public ItemDisplayable(@NotNull String description, @Nullable String url) {
myDescription = description;
myUrl = url;
}
@NotNull
public String getDescription() {
return myDescription;
}
@Nullable
public String getUrl() {
return myUrl;
}
}