org.eclipse.swordfish.internal.core.planner
Class DefaultHint
java.lang.Object
org.eclipse.swordfish.internal.core.planner.DefaultHint
- All Implemented Interfaces:
- Hint<java.util.Map<java.lang.String,java.lang.Boolean>>
public class DefaultHint
- extends java.lang.Object
- implements Hint<java.util.Map<java.lang.String,java.lang.Boolean>>
|
Constructor Summary |
DefaultHint(java.util.Map<java.lang.String,java.lang.Boolean> useInterceptor)
|
|
Method Summary |
java.util.Map<java.lang.String,java.lang.Boolean> |
getInfo()
Get the information object wrapped by the receiver. |
java.lang.Class<java.util.Map<java.lang.String,java.lang.Boolean>> |
getType()
Indicate the class/interface of the information object wrapped
by the receiver. |
void |
setUseInterceptor(java.util.Map<java.lang.String,java.lang.Boolean> useInterceptor)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultHint
public DefaultHint(java.util.Map<java.lang.String,java.lang.Boolean> useInterceptor)
setUseInterceptor
public void setUseInterceptor(java.util.Map<java.lang.String,java.lang.Boolean> useInterceptor)
- Parameters:
useInterceptor - the useInterceptor to set
getInfo
public java.util.Map<java.lang.String,java.lang.Boolean> getInfo()
- Description copied from interface:
Hint
- Get the information object wrapped by the receiver.
- Specified by:
getInfo in interface Hint<java.util.Map<java.lang.String,java.lang.Boolean>>
- Returns:
- the information extracted from the message exchange
(must not be
null).
getType
public java.lang.Class<java.util.Map<java.lang.String,java.lang.Boolean>> getType()
- Description copied from interface:
Hint
- Indicate the class/interface of the information object wrapped
by the receiver.
- Specified by:
getType in interface Hint<java.util.Map<java.lang.String,java.lang.Boolean>>
- Returns:
- the information object class.