Class RepositoryImpl
java.lang.Object
org.apache.felix.bundlerepository.impl.RepositoryImpl
- All Implemented Interfaces:
Repository
-
Field Summary
Fields inherited from interface Repository
LOCAL, SYSTEM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddReferral(Referral referral) voidaddResource(Resource resource) longReturn the last modification date of this repositorygetName()Return the name of this repository.Referral[]Resource[]Return the resources for this repository.getURI()Return the associated URL for the repository.protected ObjectDefault setter method when setting parsed data from the XML file, which currently ignores everything.voidsetLastModified(long lastModified) voidvoidprotected void
-
Constructor Details
-
RepositoryImpl
public RepositoryImpl() -
RepositoryImpl
-
-
Method Details
-
getURI
Description copied from interface:RepositoryReturn the associated URL for the repository.- Specified by:
getURIin interfaceRepository
-
setURI
-
getResources
Description copied from interface:RepositoryReturn the resources for this repository.- Specified by:
getResourcesin interfaceRepository
-
addResource
-
getReferrals
-
addReferral
-
getName
Description copied from interface:RepositoryReturn the name of this repository.- Specified by:
getNamein interfaceRepository- Returns:
- a non-null name
-
setName
-
getLastModified
public long getLastModified()Description copied from interface:RepositoryReturn the last modification date of this repository- Specified by:
getLastModifiedin interfaceRepository- Returns:
- the last modification date
-
setLastModified
public void setLastModified(long lastModified) -
setLastModified
-
put
-