UNICORE Resource Broker NJS Plugin
1.5α1

org.eurogrid.broker.server.globus
Class Translation.Search

java.lang.Object
  |
  +--org.eurogrid.broker.server.globus.Translation.Search
All Implemented Interfaces:
Serializable
Enclosing class:
Translation

public static class Translation.Search
extends Object
implements Serializable

A search for a node in the Globus information tree.

Author:
Donal K. Fellows
See Also:
Translation, Serialized Form

Field Summary
 Translation.Constraint[] constraints
          What constraints are there on the matching class?
 Translation.Search[] subsearches
          What searches should be performed rooted at the position that this search succeeds at?
 String targetClass
          What (LDAP) class to look for?
 
Constructor Summary
Translation.Search(String target, List constraints)
          Create a new search.
Translation.Search(String target, Translation.Constraint constraint)
          Create a new search.
Translation.Search(String target, Translation.Constraint c1, Translation.Constraint c2)
          Create a new search.
 
Method Summary
 void setSubsearches(List subs)
          Sets the sub-searches to perform based at any node discovered by this search.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

constraints

public Translation.Constraint[] constraints
What constraints are there on the matching class?


subsearches

public Translation.Search[] subsearches
What searches should be performed rooted at the position that this search succeeds at?


targetClass

public String targetClass
What (LDAP) class to look for?

Constructor Detail

Translation.Search

public Translation.Search(String target,
                          List constraints)
Create a new search.

Parameters:
target - The class of node to look for.
constraints - A list of constraints on the node.

Translation.Search

public Translation.Search(String target,
                          Translation.Constraint constraint)
Create a new search.

Parameters:
target - The class of node to look for.
constraint - A constraint on what node may be matched.

Translation.Search

public Translation.Search(String target,
                          Translation.Constraint c1,
                          Translation.Constraint c2)
Create a new search.

Parameters:
target - The class of node to look for.
c1 - A constraint on what node may be matched.
c2 - A constraint on what node may be matched.
Method Detail

setSubsearches

public void setSubsearches(List subs)
Sets the sub-searches to perform based at any node discovered by this search. By default, no sub-searches are done.

Parameters:
subs - A list of Translation.Search objects.

toString

public String toString()
Overrides:
toString in class Object

UNICORE Resource Broker NJS Plugin
1.5α1

Submit a bug or feature
Copyright © 2002-2004 University of Manchester, U.K. See license.terms for details.