@Override
public void init(TreeLogger logger, ResourceContext context)
throws UnableToCompleteException {
String classPrefix;
try {
PropertyOracle propertyOracle = context.getGeneratorContext().getPropertyOracle();
ConfigurationProperty styleProp = propertyOracle.getConfigurationProperty("CssResource.style");
String style = styleProp.getValues().get(0);
prettyOutput = style.equals("pretty");
ConfigurationProperty mergeProp = propertyOracle.getConfigurationProperty("CssResource.mergeEnabled");
String merge = mergeProp.getValues().get(0);
enableMerge = merge.equals("true");
ConfigurationProperty classPrefixProp = propertyOracle.getConfigurationProperty("CssResource.obfuscationPrefix");
classPrefix = classPrefixProp.getValues().get(0);
} catch (BadPropertyValueException e) {
logger.log(TreeLogger.ERROR, "Unable to query module property", e);
throw new UnableToCompleteException();
}