public class MockPluginMetadataManager extends Object implements com.atlassian.plugin.metadata.PluginMetadataManager
Constructor and Description |
---|
MockPluginMetadataManager() |
Modifier and Type | Method and Description |
---|---|
MockPluginMetadataManager |
addSystemPlugin(com.atlassian.plugin.Plugin plugin) |
boolean |
isOptional(com.atlassian.plugin.ModuleDescriptor<?> moduleDescriptor) |
boolean |
isOptional(com.atlassian.plugin.Plugin plugin) |
boolean |
isSystemProvided(com.atlassian.plugin.Plugin plugin) |
boolean |
isUserInstalled(com.atlassian.plugin.Plugin plugin) |
public boolean isUserInstalled(com.atlassian.plugin.Plugin plugin)
isUserInstalled
in interface com.atlassian.plugin.metadata.PluginMetadataManager
public boolean isSystemProvided(com.atlassian.plugin.Plugin plugin)
isSystemProvided
in interface com.atlassian.plugin.metadata.PluginMetadataManager
public boolean isOptional(com.atlassian.plugin.Plugin plugin)
isOptional
in interface com.atlassian.plugin.metadata.PluginMetadataManager
public boolean isOptional(com.atlassian.plugin.ModuleDescriptor<?> moduleDescriptor)
isOptional
in interface com.atlassian.plugin.metadata.PluginMetadataManager
public MockPluginMetadataManager addSystemPlugin(com.atlassian.plugin.Plugin plugin)
Copyright © 2002-2019 Atlassian. All Rights Reserved.