org.nanoko.coffee.mill.processors
Class JSLintProcessor
java.lang.Object
org.nanoko.coffee.mill.processors.DefaultProcessor
org.nanoko.coffee.mill.processors.JSLintProcessor
- All Implemented Interfaces:
- Processor
public class JSLintProcessor
- extends DefaultProcessor
Validates a JS file using JSHint
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSLintProcessor
public JSLintProcessor()
processAll
public void processAll()
throws Processor.ProcessorException
- Specified by:
processAll in interface Processor- Overrides:
processAll in class DefaultProcessor
- Throws:
Processor.ProcessorException
accept
public boolean accept(File file)
- Specified by:
accept in interface Processor- Overrides:
accept in class DefaultProcessor
fileCreated
public void fileCreated(File file)
throws Processor.ProcessorException
- Specified by:
fileCreated in interface Processor- Overrides:
fileCreated in class DefaultProcessor
- Throws:
Processor.ProcessorException
fileUpdated
public void fileUpdated(File file)
throws Processor.ProcessorException
- Specified by:
fileUpdated in interface Processor- Overrides:
fileUpdated in class DefaultProcessor
- Throws:
Processor.ProcessorException
validate
public List<Processor.ProcessorWarning> validate(File file)
Copyright © 2012-2013 OW2. All Rights Reserved.