All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
Modifier and Type |
Method and Description |
boolean |
actionSpecified() |
void |
addAuthor(String author) |
void |
addCategory(String category) |
void |
addDependency(Dependency dependency) |
void |
addDependency(FilesCollection files,
FileObject dependency) |
void |
addDependency(String filename,
File file) |
void |
addDependency(String filename,
long timestamp,
boolean overrides) |
void |
addLink(String link) |
void |
addPlatform(String platform) |
void |
addPreviousVersion(FileObject.Version version) |
void |
addPreviousVersion(String checksum,
long timestamp,
String filename)
Deprecated.
|
void |
addPreviousVersion(String checksum,
long timestamp,
String filename,
long timestampObsolete) |
void |
completeMetadataFrom(FileObject other)
Fill unset metadata with metadata from another object
|
FileObject.Action |
getAction() |
Iterable<String> |
getAuthors() |
String |
getBaseName() |
Iterable<String> |
getCategories() |
String |
getChecksum() |
Iterable<Dependency> |
getDependencies() |
String |
getDescription() |
Iterable<FileObject> |
getFileDependencies(FilesCollection files,
boolean recursive) |
String |
getFilename() |
String |
getFilename(boolean stripVersion) |
String |
getFilename(long timestamp)
Returns the file name for the given date, as per the update site.
|
static String |
getFilename(String filename,
boolean stripVersion) |
Iterable<String> |
getLinks() |
String |
getLocalFilename(boolean forDisplay) |
Iterable<String> |
getPlatforms() |
Iterable<FileObject.Version> |
getPrevious() |
FileObject.Status |
getStatus() |
long |
getTimestamp() |
boolean |
hasDependency(String filename) |
boolean |
hasPreviousVersion(String checksum) |
boolean |
isForPlatform(String platform) |
boolean |
isForThisPlatform(FilesCollection files) |
boolean |
isInstallable() |
boolean |
isLocallyModified() |
boolean |
isLocalOnly() |
boolean |
isNewerThan(long timestamp) |
boolean |
isObsolete() |
boolean |
isUninstallable() |
boolean |
isUpdateable() |
boolean |
isUpdateable(boolean evenForcedUpdates) |
boolean |
isUpdateablePlatform(FilesCollection files) |
boolean |
isUploadable(FilesCollection files)
Deprecated.
|
boolean |
isUploadable(FilesCollection files,
boolean assumeModified)
Tells whether this file can be uploaded to its update site Note: this does
not check whether the file is locally modified.
|
void |
markRemoved()
Deprecated.
|
void |
markRemoved(FilesCollection files) |
void |
markUploaded() |
void |
merge(FileObject upstream) |
boolean |
overridesOtherUpdateSite() |
void |
removeDependency(String other) |
void |
removeFromUpdateSite(String updateSite,
FilesCollection files) |
void |
replaceList(String tag,
String... list) |
void |
setAction(FilesCollection files,
FileObject.Action action) |
boolean |
setFirstValidAction(FilesCollection files,
FileObject.Action... actions) |
void |
setLocalVersion(String filename,
String checksum,
long timestamp) |
void |
setNoAction() |
void |
setStatus(FileObject.Status status) |
void |
stageForUninstall(FilesCollection files) |
boolean |
stageForUpdate(FilesCollection files,
boolean evenForcedOnes) |
void |
stageForUpload(FilesCollection files,
String updateSite) |
String |
toDebug() |
boolean |
toInstall() |
String |
toString() |
static void |
touch(File file) |
boolean |
toUninstall() |
boolean |
toUpdate() |
boolean |
toUpload() |
boolean |
willBeUpToDate() |
boolean |
willNotBeInstalled() |