Package io.manebot.artifact
Interface LocalArtifact
-
-
Method Summary
Modifier and Type Method Description java.io.FilegetFile()Gets the file (i.e.default java.net.URIgetUri()Gets this artifact's root resource URI.default booleanhasObtained()Finds if the Artifact instance has been obtained.-
Methods inherited from interface io.manebot.artifact.Artifact
getClassifier, getDependencies, getDependencyGraph, getExtension, getIdentifier, getManifest, getVersion, isOutOfDate, obtain
-
-
-
-
Method Detail
-
getFile
java.io.File getFile()
Gets the file (i.e. JAR) associated with this artifact.- Returns:
- Artifact file.
-
hasObtained
default boolean hasObtained()
Description copied from interface:ArtifactFinds if the Artifact instance has been obtained.- Specified by:
hasObtainedin interfaceArtifact- Returns:
- true if the artifact is obtained, false otherwise.
-
-