|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.italiangrid.voms.request.impl.DefaultVOMSServerInfoStore.Builder
public static class DefaultVOMSServerInfoStore.Builder
Creates a DefaultVOMSServerInfoStore
.
The DefaultVOMSServerInfoStore
parameters can be set with the appropriate methods. Example:
VOMSServerInfoStore serverInfoStore = new DefaultVOMSServerInfoStore.Builder()
.storeListener(storeListener)
.vomsesPaths(vomsesLocations)
.build();
;
Constructor Summary | |
---|---|
DefaultVOMSServerInfoStore.Builder()
|
Method Summary | |
---|---|
DefaultVOMSServerInfoStore |
build()
Builds the DefaultVOMSServerInfoStore |
DefaultVOMSServerInfoStore.Builder |
lookupStrategy(VOMSESLookupStrategy strategy)
Sets the VOMSESLookupStrategy that will be used to lookup vomses information for the DefaultVOMSServerInfoStore
that this builder is creating |
DefaultVOMSServerInfoStore.Builder |
storeListener(VOMSServerInfoStoreListener l)
Sets the VOMSServerInfoStoreListener that will receive store-related notifications for the
DefaultVOMSServerInfoStore that this builder is creating |
DefaultVOMSServerInfoStore.Builder |
vomsesParser(VOMSESParser p)
Sets the VOMSESParser implementation that will be used to parse vomses files |
DefaultVOMSServerInfoStore.Builder |
vomsesPaths(List<String> paths)
Sets a list of paths where vomses files will be looked up by the DefaultVOMSServerInfoStore
that this builder is creating |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultVOMSServerInfoStore.Builder()
Method Detail |
---|
public DefaultVOMSServerInfoStore.Builder lookupStrategy(VOMSESLookupStrategy strategy)
VOMSESLookupStrategy
that will be used to lookup vomses information for the DefaultVOMSServerInfoStore
that this builder is creating
strategy
- The strategy that will be used to lookup vomses information
DefaultVOMSServerInfoStore.Builder
instancepublic DefaultVOMSServerInfoStore.Builder storeListener(VOMSServerInfoStoreListener l)
VOMSServerInfoStoreListener
that will receive store-related notifications for the
DefaultVOMSServerInfoStore
that this builder is creating
l
- the listener
DefaultVOMSServerInfoStore.Builder
instancepublic DefaultVOMSServerInfoStore.Builder vomsesParser(VOMSESParser p)
VOMSESParser
implementation that will be used to parse vomses files
p
- the parser
DefaultVOMSServerInfoStore.Builder
instancepublic DefaultVOMSServerInfoStore.Builder vomsesPaths(List<String> paths)
DefaultVOMSServerInfoStore
that this builder is creating
paths
- a list of paths
DefaultVOMSServerInfoStore.Builder
instancepublic DefaultVOMSServerInfoStore build()
DefaultVOMSServerInfoStore
DefaultVOMSServerInfoStore
configured as required by this builder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |