|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.bnl.star.offline.scheduler.policy.copyselector.CopySelectorFactory
public class CopySelectorFactory
Selects which Copyselector should be used for the given query. The factory allows different CopySelectors to be built, and used in different circumstances. It makes the code more manageble and mantainable.
Constructor Summary | |
---|---|
CopySelectorFactory()
|
Method Summary | |
---|---|
static CopySelector |
createCopySelector(CatalogQuery query,
Request request)
Returns the Copy selector to be used on a given query of a given request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CopySelectorFactory()
Method Detail |
---|
public static CopySelector createCopySelector(CatalogQuery query, Request request)
query
- the query on which result the selection should be maderequest
- the request that contained the query
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |