public class StoreResource
extends org.commonjava.maven.galley.model.ConcreteResource
ConcreteResource which assumes locations are KeyedLocation instances, and provides access to the StoreKeys
they hold. Also provides a method for converting a list of these resources into a listing DTO.| Constructor and Description |
|---|
StoreResource(KeyedLocation location,
String... path) |
| Modifier and Type | Method and Description |
|---|---|
static List<org.commonjava.indy.model.core.dto.DirectoryListingEntryDTO> |
convertToEntries(List<StoreResource> items)
Convert a series of
StoreResources into a DTO for use in generating browser or other directory listings. |
org.commonjava.indy.model.core.StoreKey |
getStoreKey()
Retrieve the
StoreKey from the KeyedLocation referenced by this resource. |
public StoreResource(KeyedLocation location, String... path)
public org.commonjava.indy.model.core.StoreKey getStoreKey()
StoreKey from the KeyedLocation referenced by this resource.public static List<org.commonjava.indy.model.core.dto.DirectoryListingEntryDTO> convertToEntries(List<StoreResource> items)
StoreResources into a DTO for use in generating browser or other directory listings.Copyright © 2011-2018-2018. All Rights Reserved.