public class CompilerCallback extends Object
Constructor and Description |
---|
CompilerCallback(org.apache.maven.plugin.logging.Log log)
Instantiates a new compiler callback.
|
Modifier and Type | Method and Description |
---|---|
void |
compilationError(String error,
String template,
String css)
Handle
on_compilation_error event. |
boolean |
hadError()
Had error.
|
void |
templateCreated(String template)
Handle
on_template_created event. |
void |
templateDeleted(String template)
Handle
on_template_deleted event. |
void |
templateModified(String template)
Handle
on_template_modified event. |
void |
updatedStylesheeet(String template,
String css)
Handle
on_updated_stylesheet event. |
public CompilerCallback(org.apache.maven.plugin.logging.Log log)
log
- the maven logging instance to use for messagespublic void compilationError(String error, String template, String css)
on_compilation_error
event.error
- the errortemplate
- the templatecss
- the csspublic void updatedStylesheeet(String template, String css)
on_updated_stylesheet
event.template
- the templatecss
- the csspublic void templateModified(String template)
on_template_modified
event.template
- the templatepublic void templateCreated(String template)
on_template_created
event.template
- the templatepublic void templateDeleted(String template)
on_template_deleted
event.template
- the templatepublic boolean hadError()
true
when there was an errorCopyright © 2014–2019 GeoDienstenCentrum. All rights reserved.