org.jfrog.build.extractor.clientConfiguration
Class ArtifactSpec
java.lang.Object
org.jfrog.build.extractor.clientConfiguration.ArtifactSpec
public class ArtifactSpec
- extends java.lang.Object
Container for artifact with module information + custom properties
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
CONFIG_ALL
public static final java.lang.String CONFIG_ALL
- See Also:
- Constant Field Values
WILDCARD
public static final java.lang.String WILDCARD
- See Also:
- Constant Field Values
newSpec
public static ArtifactSpec newSpec(java.lang.String notation)
- Create a full artifact spec from string notation in the format of:
[configName] artifactNotation key1:val1, key2:val2, key3:val3
artifactNotation is in the format of group:artifact:version:classifier@ext every
Any element in
artifactNotation can contain the * and ? wildcards, for example:
org.acme:*:1.0.?_*:*@tgz
- Parameters:
notation -
builder
public static ArtifactSpec.Builder builder()
matches
public boolean matches(ArtifactSpec spec)
getConfiguration
public java.lang.String getConfiguration()
getGroup
public java.lang.String getGroup()
getName
public java.lang.String getName()
getVersion
public java.lang.String getVersion()
getClassifier
public java.lang.String getClassifier()
getType
public java.lang.String getType()
getProperties
public java.util.Map<java.lang.String,java.lang.CharSequence> getProperties()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object