Package software.amazon.smithy.waiters
Class Acceptor
java.lang.Object
software.amazon.smithy.waiters.Acceptor
- All Implemented Interfaces:
 ToNode
Represents an acceptor in a waiter's state machine.
- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
Acceptor
- Parameters:
 state- State the acceptor transitions to when matched.matcher- The matcher to match against.
 
 - 
 - 
Method Details
- 
getState
Gets the state to transition to if matched.- Returns:
 - Acceptor state to transition to.
 
 - 
getMatcher
Gets the matcher used to test if the acceptor.- Returns:
 - Returns the matcher.
 
 - 
fromNode
Creates an Acceptor from aNode.- Parameters:
 node- Node to create the Acceptor from.- Returns:
 - Returns the created Acceptor.
 - Throws:
 ExpectationNotMetException- if the given Node is invalid.
 - 
toNode
Description copied from interface:ToNodeConverts a value to aNode. - 
equals
 - 
hashCode
public int hashCode() 
 -