Search in sources :

Example 11 with PluginSettingsProperty

use of com.thoughtworks.go.plugin.access.common.settings.PluginSettingsProperty in project gocd by gocd.

the class PluginServiceTest method getPluginSettingsConfiguration.

private PluginSettingsConfiguration getPluginSettingsConfiguration() {
    PluginSettingsConfiguration configuration = new PluginSettingsConfiguration();
    configuration.add(new PluginSettingsProperty("key-1"));
    configuration.add(new PluginSettingsProperty("key-2"));
    configuration.add(new PluginSettingsProperty("key-3"));
    return configuration;
}
Also used : PluginSettingsConfiguration(com.thoughtworks.go.plugin.access.common.settings.PluginSettingsConfiguration) PluginSettingsProperty(com.thoughtworks.go.plugin.access.common.settings.PluginSettingsProperty)

Aggregations

PluginSettingsConfiguration (com.thoughtworks.go.plugin.access.common.settings.PluginSettingsConfiguration)11 PluginSettingsProperty (com.thoughtworks.go.plugin.access.common.settings.PluginSettingsProperty)11 GoPluginDescriptor (com.thoughtworks.go.plugin.infra.plugininfo.GoPluginDescriptor)5 Test (org.junit.jupiter.api.Test)5 ElasticAgentPluginInfo (com.thoughtworks.go.plugin.domain.elastic.ElasticAgentPluginInfo)4 BeforeEach (org.junit.jupiter.api.BeforeEach)4 PackageMaterialProperty (com.thoughtworks.go.plugin.api.material.packagerepository.PackageMaterialProperty)1 RepositoryConfiguration (com.thoughtworks.go.plugin.api.material.packagerepository.RepositoryConfiguration)1 AnalyticsPluginInfo (com.thoughtworks.go.plugin.domain.analytics.AnalyticsPluginInfo)1 Test (org.junit.Test)1