com.almworks.jira.structure.api.extension.StructureIntegrationDetails 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
package com.almworks.jira.structure.api.extension;
import com.almworks.integers.LongSet;
import com.atlassian.annotations.Internal;
import org.jetbrains.annotations.*;
/**
* With this interface a Structure extension may inform that the plugin adds new features to particular structures.
* Register you component in the atlassian-plugin.xml file:
*
* <structure-integration-details-provider key="KEY" class="YOUR_IMPLEMENTATION_CLASS"/>
*
*/
@Internal
public interface StructureIntegrationDetails {
/**
* @return URL of the plugin Logo
*/
String getProductIconUrl();
/**
* @return selected structures this plugin integrates with (add new features).
* {@code null} - if the plugin does not support this operation, e.g. no efficient implementation is possible.
*/
@Nullable
LongSet selectIntegratedStructures(@NotNull LongSet structureIds);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy