org.gcube.data.tml.clients.queries
Class BinderQueryBuilder

java.lang.Object
  extended by org.gcube.data.tml.clients.queries.BinderQueryBuilder

public class BinderQueryBuilder
extends Object

Builds queries for T-Binder services.

Author:
Fabio Simeoni
See Also:
TBinderClient

Constructor Summary
protected BinderQueryBuilder()
           
 
Method Summary
 org.gcube.common.clients.gcore.StatefulQuery build()
          Builds the query.
 String toString()
           
 BinderQueryBuilder withPlugin(String name)
          Sets the name of plugin on the query.
 BinderQueryBuilder withProperty(String name, String value)
          Sets the name of a plugin property on the query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BinderQueryBuilder

protected BinderQueryBuilder()
Method Detail

build

public org.gcube.common.clients.gcore.StatefulQuery build()
Builds the query.

Returns:
the query

withPlugin

public BinderQueryBuilder withPlugin(String name)
Sets the name of plugin on the query.

Parameters:
name - the plugin name
Returns:
this builder

withProperty

public BinderQueryBuilder withProperty(String name,
                                       String value)
Sets the name of a plugin property on the query.

Parameters:
name - the property name
value - the property value
Returns:
this builder

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.