Package io.manebot.artifact
Interface LocalArtifact
-
-
Method Summary
Modifier and Type Method Description java.io.File
getFile()
Gets the file (i.e.default java.net.URI
getUri()
Gets this artifact's root resource URI.default boolean
hasObtained()
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:Artifact
Finds if the Artifact instance has been obtained.- Specified by:
hasObtained
in interfaceArtifact
- Returns:
- true if the artifact is obtained, false otherwise.
-
-