com.github.smokestack.jca.cci
Class MockInteraction
java.lang.Object
com.github.smokestack.jca.cci.MockInteraction
- All Implemented Interfaces:
- Interaction
public class MockInteraction
- extends Object
- implements Interaction
mockConnection
protected MockConnection mockConnection
interactionState
protected MockInteraction.InteractionState interactionState
MockInteraction
public MockInteraction(MockConnection mockConnection)
clearWarnings
public void clearWarnings()
throws ResourceException
- Specified by:
clearWarnings
in interface Interaction
- Throws:
ResourceException
_clearWarnings
public void _clearWarnings()
throws ResourceException
- Throws:
ResourceException
close
public void close()
throws ResourceException
- Specified by:
close
in interface Interaction
- Throws:
ResourceException
_close
public void _close()
throws ResourceException
- Throws:
ResourceException
execute
public Record execute(InteractionSpec interactionSpec,
Record record)
throws ResourceException
- Specified by:
execute
in interface Interaction
- Throws:
ResourceException
_execute
public Record _execute(InteractionSpec interactionSpec,
Record record)
throws ResourceException
- Throws:
ResourceException
execute
public boolean execute(InteractionSpec interactionSpec,
Record record1,
Record record2)
throws ResourceException
- Specified by:
execute
in interface Interaction
- Throws:
ResourceException
_execute
public boolean _execute(InteractionSpec interactionSpec,
Record record1,
Record record2)
throws ResourceException
- Throws:
ResourceException
getConnection
public Connection getConnection()
- Specified by:
getConnection
in interface Interaction
_getConnection
public Connection _getConnection()
getWarnings
public ResourceWarning getWarnings()
throws ResourceException
- Specified by:
getWarnings
in interface Interaction
- Throws:
ResourceException
_getWarnings
public ResourceWarning _getWarnings()
throws ResourceException
- Throws:
ResourceException
getMockInteractionState
public MockInteraction.InteractionState getMockInteractionState()
_getMockInteractionState
public MockInteraction.InteractionState _getMockInteractionState()
validateMockComplete
public void validateMockComplete()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2010 Smokestack. All Rights Reserved.