Package io.manebot.artifact
Interface ArtifactDependency
-
public interface ArtifactDependency
-
-
Method Summary
Modifier and Type Method Description Artifact
getChild()
Gets the dependent artifact in this relationship.Artifact
getParent()
Gets the parent artifact in this relationship.ArtifactDependencyLevel
getType()
Gets the type of dependency this artifact dependency requires.boolean
isRequired()
Finds if this is a required dependency.
-
-
-
Method Detail
-
getParent
Artifact getParent()
Gets the parent artifact in this relationship.- Returns:
- Parent artifact.
-
getChild
Artifact getChild()
Gets the dependent artifact in this relationship.- Returns:
- Dependent artifact.
-
getType
ArtifactDependencyLevel getType()
Gets the type of dependency this artifact dependency requires.- Returns:
- dependency type.
-
isRequired
boolean isRequired()
Finds if this is a required dependency.- Returns:
- true if the dependency is required, false otherwise.
-
-