| Constructor and Description |
|---|
Plugin(String name,
Map<String,String> properties) |
Plugin(String name,
Map<String,String> properties,
ArtifactSelectorConfig artifact) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
ArtifactSelectorConfig |
getArtifact() |
String |
getName() |
PluginSelector |
getPluginSelector(String pluginType,
String pluginName) |
Map<String,String> |
getProperties() |
int |
hashCode() |
String |
toString() |
public Plugin(String name, Map<String,String> properties, @Nullable ArtifactSelectorConfig artifact)
public String getName()
public ArtifactSelectorConfig getArtifact()
public PluginSelector getPluginSelector(String pluginType, String pluginName)
pluginType - the plugin type to get a selector for. Only used for error messages when no matching artifact
for the plugin is foundpluginName - the plugin name to get a selector for. Only used for error messages when no matching artifact
for the plugin is foundArtifactSelector.
If not, the default PluginSelector is returned.Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.