|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.dpml.lang.AbstractDirective
net.dpml.transit.info.CacheDirective
Description of the Transit cache configuration.
| Field Summary | |
static String |
CACHE_LAYOUT
Default layout strategy key. |
static String |
CACHE_PATH
Default cache path. |
static HostDirective[] |
EMPTY_HOSTS
Empty resource host array. |
static LayoutDirective[] |
EMPTY_LAYOUTS
Empty layout array. |
static String |
LOCAL_LAYOUT
Default layout strategy key. |
static String |
LOCAL_PATH
Default system local repository path. |
| Constructor Summary | |
CacheDirective()
Create a new CacheDirective. |
|
CacheDirective(String cache,
String cacheLayout,
String local,
String localLayout,
LayoutDirective[] layouts,
HostDirective[] hosts)
Create a new CacheDirective. |
|
| Method Summary | |
boolean |
equals(Object other)
Test if the supplied object is equal to this object. |
String |
getCache()
Return the cache path. |
String |
getCacheLayout()
Return the cache layout id. |
HostDirective[] |
getHostDirectives()
Return the supplimentary layout plugin configurations. |
LayoutDirective[] |
getLayoutDirectives()
Return the supplimentary layout plugin configurations. |
String |
getLocal()
Return the local repository path. |
String |
getLocalLayout()
Return the local system repository layout id. |
int |
hashCode()
Compute the instance hashcode value. |
| Methods inherited from class net.dpml.lang.AbstractDirective |
equals, hashArray, hashValue |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String CACHE_PATH
public static final String LOCAL_PATH
public static final String CACHE_LAYOUT
public static final String LOCAL_LAYOUT
public static final LayoutDirective[] EMPTY_LAYOUTS
public static final HostDirective[] EMPTY_HOSTS
| Constructor Detail |
public CacheDirective()
public CacheDirective(String cache,
String cacheLayout,
String local,
String localLayout,
LayoutDirective[] layouts,
HostDirective[] hosts)
throws NullPointerException
cache - the cache directory pathcacheLayout - the cache layout strategylocal - the local repository pathlocalLayout - the local repository layout strategylayouts - an array of extended layout descriptorshosts - an array of supplimentary host descriptors
NullPointerException - if the cache, local, or layout argument is null| Method Detail |
public String getCache()
public String getCacheLayout()
public String getLocal()
public String getLocalLayout()
public LayoutDirective[] getLayoutDirectives()
public HostDirective[] getHostDirectives()
public boolean equals(Object other)
equals in class AbstractDirectiveother - the object to evaluate
public int hashCode()
hashCode in class AbstractDirective
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||