@Label(value="Artifact",
usingIndexedPropertyOf=com.buschmais.jqassistant.core.store.api.model.FullQualifiedNameDescriptor.class)
public interface ArtifactDescriptor
extends NamedDescriptor, com.buschmais.jqassistant.core.store.api.model.FullQualifiedNameDescriptor
<p>Describes an artifact.</p>
| Modifier and Type | Method and Description |
|---|---|
void |
addDependency(ArtifactDescriptor dependency,
String scope,
boolean optional)
<p>Create a dependency to another
ArtifactDescriptor. |
String |
getClassifier() |
List<DependsOnDescriptor> |
getDependencies() |
List<DependsOnDescriptor> |
getDependents() |
String |
getGroup() |
String |
getName() |
String |
getType() |
String |
getVersion() |
void |
setClassifier(String classifier) |
void |
setGroup(String group) |
void |
setName(String name) |
void |
setType(String type) |
void |
setVersion(String version) |
@Property(value="group") String getGroup()
void setGroup(String group)
group - the group to set@Property(value="name") String getName()
getName in interface NamedDescriptorvoid setName(String name)
setName in interface NamedDescriptorname - the name to set@Property(value="version") String getVersion()
void setVersion(String version)
version - the version to set@Property(value="classifier") String getClassifier()
void setClassifier(String classifier)
@Property(value="type") String getType()
void setType(String type)
List<DependsOnDescriptor> getDependencies()
List<DependsOnDescriptor> getDependents()
@Cypher(value="MATCH (artifact:Artifact),(dependency:Artifact) WHERE id(artifact)=$this and id(dependency)=$dependency MERGE (artifact)-[dependsOn:DEPENDS_ON{scope:$scope,optional:$optional}]->(dependency) RETURN dependsOn")
void addDependency(ArtifactDescriptor dependency,
String scope,
boolean optional)
<p>Create a dependency to another ArtifactDescriptor.</p>
dependency - The ArtifactDescriptor representing the dependency.scope - The scope.optional - <code>true</code> if the dependency is optional.Copyright © 2016–2021 jQAssistant Development Team. All rights reserved.