src/main/java/com/digitalglobe/util/maven/plugin/CloudFormationDeployMavenPlugin.java
/**
     * Test the condition to determine if the parameter value equals a check value.  If the check condition is null,
     * it is assumed that there is no check condition so the test passes.  If the parameter is not found in the
     * output parameters, it is considered an error.
     *
     * @param checkCondition is the check condition to evaluate.
     * @param outputParameters are the output parameters to search and test against.
     * @return a flag indicating if the check condition is satisfied.
     * @throws MojoExecutionException when the parameter doesn't exist in the output parameters.
     */
Test the condition to determine if the parameter value equals a check value.  If the check condition is null,
it is assumed that there is no check condition so the test passes.  If the parameter is not found in the
output parameters, it is considered an error.

@param checkCondition is the check condition to evaluate.
@param outputParameters are the output parameters to search and test against.
@return a flag indicating if the check condition is satisfied.
@throws MojoExecutionException when the parameter doesn't exist in the output parameters.
Test the condition to determine if the parameter value equals a check value . If the check condition is null it is assumed that there is no check condition so the test passes . If the parameter is not found in the output parameters it is considered an error . @param checkCondition is the check condition to evaluate . @param outputParameters are the output parameters to search and test against . @return a flag indicating if the check condition is satisfied . @throws MojoExecutionException when the parameter doesn ' t exist in the output parameters .
private boolean evaluateCheckCondition(ParameterValueCheckCondition checkCondition,
                                           Map<String, String> outputParameters) throws MojoExecutionException {
        boolean test = true;
        if(checkCondition != null) {
            if(!outputParameters.containsKey(checkCondition.parameterName))
                throw new MojoExecutionException("Check Condition Parameter doesn't exist!");
            test = outputParameters.get(checkCondition.parameterName).equals(checkCondition.checkValue);
        }
        return test;
    }
private boolean evaluateCheckCondition ( ParameterValueCheckCondition checkCondition , Map < String , String > outputParameters ) throws MojoExecutionException { boolean test = true ; if ( checkCondition != null ) { if ( ! outputParameters . containsKey ( checkCondition . parameterName ) ) throw new MojoExecutionException ( "Check Condition Parameter doesn't exist!" ) ; test = outputParameters . get ( checkCondition . parameterName ) . equals ( checkCondition . checkValue ) ; } return test ; }
Test the condition to determine if the parameter value equals a check value.
Test the condition to determine if the parameter value equals a check value .