public abstract class Repository
extends java.lang.Object
| Constructor and Description |
|---|
Repository() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChannel(Channel c)
Convenience method to add a
Channel to this repository. |
void |
addLicense(License l)
Convenience method to add a
License to this repository. |
abstract CommonFactory |
createFactory() |
abstract java.util.List<Channel> |
getChannel() |
abstract java.util.List<License> |
getLicense() |
LocalPackage |
getLocalPackage() |
java.util.List<RemotePackageImpl> |
getRemotePackage() |
void |
setLocalPackage(LocalPackageImpl p) |
@NonNull public abstract java.util.List<License> getLicense()
Licenses included in this repository. In general licenses should be
obtained from RepoPackages, not directly from the repository (as they might not
even apply to any packages.public void addLicense(@NonNull
License l)
License to this repository.@NonNull public abstract java.util.List<Channel> getChannel()
Channels included in this repository. In general licenses should be
obtained from RepoPackages, not directly from the repository (as they might not
even apply to any packages.public void addChannel(@NonNull
Channel c)
Channel to this repository.@NonNull public abstract CommonFactory createFactory()
@NonNull public java.util.List<RemotePackageImpl> getRemotePackage()
public void setLocalPackage(@Nullable
LocalPackageImpl p)
@Nullable public LocalPackage getLocalPackage()