protected Object executeInternal() throws MojoExecutionException,
MojoFailureException {
boolean bTemplateNameDefined = org.apache.commons.lang.StringUtils
.isNotBlank(templateName);
DescribeConfigurationSettingsRequest req = new DescribeConfigurationSettingsRequest()//
.withApplicationName(applicationName);
if (bTemplateNameDefined) {
req.withTemplateName(templateName);
} else {
req.withEnvironmentName(curEnv.getEnvironmentName())//
.withTemplateName(templateName);
}
return getService().describeConfigurationSettings(req);
}