Package org.sonar.updatecenter.common
Class PluginReferential
- java.lang.Object
-
- org.sonar.updatecenter.common.PluginReferential
-
public class PluginReferential extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOutgoingDependency(Release release, String requiredPluginReleaseKey, String requiredMinimumReleaseVersion)static PluginReferentialcreate(List<Plugin> pluginList)static PluginReferentialcreateEmpty()booleandoesContainPlugin(String key)booleandoesContainRelease(String key, Version version)List<String>findLastReleasesWithDependencies(String pluginKey)PluginfindPlugin(String key)List<Plugin>getLastMasterReleasePlugins()List<Plugin>getPlugins()
-
-
-
Method Detail
-
create
public static PluginReferential create(List<Plugin> pluginList)
-
createEmpty
public static PluginReferential createEmpty()
-
getLastMasterReleasePlugins
public List<Plugin> getLastMasterReleasePlugins()
- Returns:
- the list of plugins where last releases is master releases
-
findPlugin
public Plugin findPlugin(String key)
- Throws:
NoSuchElementException- if plugin could not be found
-
doesContainPlugin
public boolean doesContainPlugin(String key)
-
findLastReleasesWithDependencies
public List<String> findLastReleasesWithDependencies(String pluginKey)
-
-