Search in sources :

Example 1 with PathMappedDeleteResult

use of org.commonjava.indy.pathmapped.model.PathMappedDeleteResult in project indy by Commonjava.

the class PathMappedController method delete.

public PathMappedDeleteResult delete(String packageType, String type, String name, String path) throws Exception {
    ConcreteResource resource = getConcreteResource(packageType, type, name, path);
    boolean result = pathMappedCacheProvider.delete(resource);
    return new PathMappedDeleteResult(packageType, type, name, path, result);
}
Also used : ConcreteResource(org.commonjava.maven.galley.model.ConcreteResource) PathMappedDeleteResult(org.commonjava.indy.pathmapped.model.PathMappedDeleteResult)

Aggregations

PathMappedDeleteResult (org.commonjava.indy.pathmapped.model.PathMappedDeleteResult)1 ConcreteResource (org.commonjava.maven.galley.model.ConcreteResource)1