org.specrunner.core.pipes
Class PipeInput

java.lang.Object
  extended by org.specrunner.core.pipes.PipeInput

public final class PipeInput
extends Object

Add input information to the channel.

Author:
Thiago Santos

Field Summary
static String INPUT
          Configuration.
 
Method Summary
static IChannel bind(IChannel channel, String obj)
          Bind the object to the channel.
static String lookup(IChannel channel)
          Get the input from channel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INPUT

public static final String INPUT
Configuration.

See Also:
Constant Field Values
Method Detail

bind

public static IChannel bind(IChannel channel,
                            String obj)
Bind the object to the channel.

Parameters:
channel - The channel.
obj - The object.
Returns:
The channel itself.

lookup

public static String lookup(IChannel channel)
                     throws NotFoundException,
                            InvalidTypeException
Get the input from channel.

Parameters:
channel - The channel.
Returns:
The input reference.
Throws:
NotFoundException - On lookup errors.
InvalidTypeException - On type error.


Copyright © 2014. All rights reserved.