org.codehaus.groovy.grails.commons
Class CodecArtefactHandler
java.lang.Object
org.codehaus.groovy.grails.commons.ArtefactHandlerAdapter
org.codehaus.groovy.grails.commons.CodecArtefactHandler
- All Implemented Interfaces:
- ArtefactHandler
public class CodecArtefactHandler
- extends ArtefactHandlerAdapter
- Author:
- Marc Palmer (marc@anyware.co.uk)
Method Summary |
boolean |
isArtefactClass(Class clazz)
Checks that class's name ends in the suffix specified for this handler. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
CodecArtefactHandler
public CodecArtefactHandler()
isArtefactClass
public boolean isArtefactClass(Class clazz)
- Description copied from class:
ArtefactHandlerAdapter
Checks that class's name ends in the suffix specified for this handler.
Override for more complex criteria
- Overrides:
isArtefactClass
in class ArtefactHandlerAdapter
- Parameters:
clazz
- The class to check
- Returns:
- True if it is an artefact of this type
Copyright (c) 2005-2009 The Grails project