public class ArtifactSelectorConfig extends Object
| Constructor and Description |
|---|
ArtifactSelectorConfig() |
ArtifactSelectorConfig(String scope,
String name,
String version) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
ArtifactSelector |
getArtifactSelector(String pluginType,
String pluginName)
Gets the corresponding
ArtifactSelector for this config. |
int |
hashCode() |
String |
toString() |
public ArtifactSelector getArtifactSelector(String pluginType, String pluginName)
ArtifactSelector for this config.
Validates that any given scope, name, and version are all valid or null. The scope must be an
ArtifactScope, the version must be an ArtifactVersion, and the name only contains
alphanumeric, '-', or '_'. Also checks that at least one field is non-null.ArtifactSelector using these config settingsIllegalArgumentException - if any one of the fields are invalidCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.