public class PluginReferential extends Object
Modifier and Type | Method and Description |
---|---|
void |
addOutgoingDependency(Release release,
String requiredPluginReleaseKey,
String requiredMinimumReleaseVersion) |
static PluginReferential |
create(List<Plugin> pluginList) |
static PluginReferential |
createEmpty() |
boolean |
doesContainPlugin(String key) |
boolean |
doesContainRelease(String key,
Version version) |
List<String> |
findLastReleasesWithDependencies(String pluginKey) |
Plugin |
findPlugin(String key) |
List<Plugin> |
getLastMasterReleasePlugins() |
List<Plugin> |
getPlugins() |
PluginReferential |
setParent(Release release,
String parentKey) |
public static PluginReferential create(List<Plugin> pluginList)
public static PluginReferential createEmpty()
public List<Plugin> getLastMasterReleasePlugins()
public Plugin findPlugin(String key)
NoSuchElementException
- if plugin could not be foundpublic boolean doesContainPlugin(String key)
public List<String> findLastReleasesWithDependencies(String pluginKey)
public PluginReferential setParent(Release release, String parentKey)
Copyright © 2010–2018 SonarSource. All rights reserved.