Created
February 6, 2015 23:47
-
-
Save RX14/9e8462d63ff1e0475580 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package nova.core.deps; | |
import java.net.URL; | |
/** | |
* //TODO | |
* | |
* @author rx14 | |
*/ | |
public interface Dependency { | |
/** | |
* Gets an identifier which is specific to this type of dependency. | |
* <p> | |
* e.g. {@code maven} or {@code URL} | |
* | |
* @return the dependency type ID. | |
*/ | |
String getDependencyTypeID(); | |
/** | |
* Get an identifier which is specific to this dependency, this identifier | |
* should be the same through all versions of the dependency. | |
* <p> | |
* e.g. {@code net.novaapi.core} or a hash of the URL | |
* | |
* @return the dependency ID. | |
*/ | |
String getDependencyID(); | |
/** | |
* Gets an identifier that is specific to this version of the dependency. | |
* <p> | |
* e.g. {@code 1.2.3} | |
* | |
* @return the version ID. | |
*/ | |
String getVersionID(); | |
/** | |
* Gets a URL to download the dependency from. | |
* | |
* @return the URL to download the dependency from. | |
*/ | |
URL getDownloadURL(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment