com.ibm.di.server
Class ConnectorMode

java.lang.Object
  extended by com.ibm.di.server.ConnectorMode

public class ConnectorMode
extends java.lang.Object

This class represents the mode of a Connector, giving it information how to operate.


Constructor Summary
ConnectorMode(int mode)
          Constructor.
ConnectorMode(java.lang.String type)
          Constructor.
 
Method Summary
 int getMode()
          Returns the connector mode.
 java.lang.String toString()
          Returns a String representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectorMode

public ConnectorMode(java.lang.String type)
Constructor.

Parameters:
type - the type of the connector mode

ConnectorMode

public ConnectorMode(int mode)
Constructor.

Parameters:
mode - a connector mode
Method Detail

getMode

public int getMode()
Returns the connector mode.

Returns:
the connector mode

toString

public java.lang.String toString()
Returns a String representation of the object. More specifically a server object.

Overrides:
toString in class java.lang.Object
Returns:
a String value