1 17 18 package org.apache.avalon.repository.provider; 19 20 import java.io.File ; 21 import java.util.Map ; 22 23 import org.apache.avalon.repository.Artifact; 24 25 32 public interface RepositoryCriteria extends Map 33 { 34 37 String REPOSITORY_ONLINE_MODE = InitialContext.ONLINE_KEY; 38 39 42 String REPOSITORY_CACHE_DIR = InitialContext.CACHE_KEY; 43 44 47 String REPOSITORY_REMOTE_HOSTS = InitialContext.HOSTS_KEY; 48 49 52 String REPOSITORY_FACTORY_ARTIFACTS = 53 InitialContext.FACTORY_ARTIFACTS_KEY; 54 55 59 String [] KEYS = 60 new String []{ 61 REPOSITORY_ONLINE_MODE, 62 REPOSITORY_CACHE_DIR, 63 REPOSITORY_REMOTE_HOSTS, 64 REPOSITORY_FACTORY_ARTIFACTS }; 65 66 73 void setOnlineMode( boolean policy ); 74 75 81 void setCacheDirectory( File cache ); 82 83 92 void setHosts( String [] hosts ); 93 94 102 void setFactoryArtifacts( Artifact[] artifacts ); 103 } 104 | Popular Tags |