public static class FakePackage.FakeLocalPackage extends FakePackage implements LocalPackage
LocalPackage for use in unit tests.FakePackage.FakeLocalPackage, FakePackage.FakeRemotePackagePATH_SEPARATOR| Constructor and Description |
|---|
FakeLocalPackage(java.lang.String path) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(RepoPackage other) |
java.io.File |
getLocation()
Gets the installed location of this package.
|
void |
setInstalledPath(java.io.File root)
Specifies the path at which this package is installed.
|
asMarshallable, createFactory, equals, getAllDependencies, getDisplayName, getLicense, getPath, getTypeDetails, getVersion, hashCode, obsolete, setDependencies, setDisplayName, setLicense, setObsolete, setRevision, setTypeDetails, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitasMarshallable, createFactory, getAllDependencies, getDisplayName, getLicense, getPath, getTypeDetails, getVersion, obsolete@NonNull public java.io.File getLocation()
LocalPackagegetLocation in interface LocalPackagepublic void setInstalledPath(@NonNull
java.io.File root)
LocalPackagesetInstalledPath in interface LocalPackagepublic int compareTo(@NonNull
RepoPackage other)
compareTo in interface java.lang.Comparable<RepoPackage>compareTo in class FakePackage