Package org.icij.datashare
Interface Deliverable
-
- All Superinterfaces:
Comparable<Deliverable>,Entity,Serializable
public interface Deliverable extends Entity, Comparable<Deliverable>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDeliverable.Type
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(Path installDir)Filedownload()PathgetBasePath()StringgetDescription()URLgetHomepage()StringgetName()Deliverable.TypegetType()URLgetUrl()StringgetVersion()voidinstall(File deliverable, Path targetDir)voidinstall(Path targetDir)-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
getUrl
URL getUrl()
-
getHomepage
URL getHomepage()
-
getBasePath
Path getBasePath()
-
getName
String getName()
-
getDescription
String getDescription()
-
getVersion
String getVersion()
-
getType
Deliverable.Type getType()
-
download
File download() throws IOException
- Throws:
IOException
-
install
void install(File deliverable, Path targetDir) throws IOException
- Throws:
IOException
-
install
void install(Path targetDir) throws IOException
- Throws:
IOException
-
delete
void delete(Path installDir) throws IOException
- Throws:
IOException
-
-