/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeNotebookInstanceResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.path(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeClusterResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.path(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeAutoScalingGroupsResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.path(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeClusterResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.path(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeTransformJobResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.path(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeNodeAssociationStatusResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.path(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeNodeAssociationStatusResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.path(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeStepResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.path(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeEndpointResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.path(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeInstancesResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.path(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(ReadJobResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.path(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeClusterResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.path(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeClusterResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.path(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeAutoScalingGroupsResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.path(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(GetDeploymentResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.path(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeStepResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.path(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeClusterResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.path(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeAutoScalingGroupsResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.path(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeSigningJobResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.path(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeServicesResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.path(expectedResult, finalResult); }