org.codenarc.rule.generic
Class StatelessClassRule

java.lang.Object
  extended by org.codenarc.rule.AbstractRule
      extended by org.codenarc.rule.AbstractAstVisitorRule
          extended by org.codenarc.rule.generic.StatelessClassRule
All Implemented Interfaces:
groovy.lang.GroovyObject, Rule
Direct Known Subclasses:
GrailsStatelessServiceRule

public class StatelessClassRule
extends AbstractAstVisitorRule
implements groovy.lang.GroovyObject


Field Summary
 
Fields inherited from class org.codenarc.rule.AbstractAstVisitorRule
DEFAULT_CONST_NAME, DEFAULT_FIELD_NAME, DEFAULT_TEST_CLASS_NAMES, DEFAULT_TEST_FILES, DEFAULT_VAR_NAME
 
Constructor Summary
StatelessClassRule()
           
 
Method Summary
 java.lang.Class getAstVisitorClass()
           
 java.lang.String getIgnoreFieldNames()
           
 java.lang.String getIgnoreFieldTypes()
           
 groovy.lang.MetaClass getMetaClass()
           
 java.lang.String getName()
           
 int getPriority()
           
 java.lang.Object getProperty(java.lang.String property)
           
 java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments)
           
 void setAddToIgnoreFieldNames(java.lang.String moreFieldNames)
           
 void setAstVisitorClass(java.lang.Class value)
           
 void setIgnoreFieldNames(java.lang.String value)
           
 void setIgnoreFieldTypes(java.lang.String value)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setName(java.lang.String value)
           
 void setPriority(int value)
           
 void setProperty(java.lang.String property, java.lang.Object value)
           
 
Methods inherited from class org.codenarc.rule.AbstractAstVisitorRule
applyTo, getApplyToClassNames, getAstVisitor, getDoNotApplyToClassNames, setApplyToClassNames, setDoNotApplyToClassNames, shouldApplyThisRuleTo
 
Methods inherited from class org.codenarc.rule.AbstractRule
applyTo, createViolation, createViolation, createViolation, createViolation, createViolation, createViolationForImport, createViolationForImport, getApplyToFileNames, getApplyToFilesMatching, getDescription, getDoNotApplyToFileNames, getDoNotApplyToFilesMatching, getEnabled, getImportsSortedByLineNumber, getLOG, getViolationMessage, isEnabled, isReady, packageNameForImport, setApplyToFileNames, setApplyToFilesMatching, setDescription, setDoNotApplyToFileNames, setDoNotApplyToFilesMatching, setEnabled, setViolationMessage, sourceLineAndNumberForImport, sourceLineAndNumberForImport, toString, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatelessClassRule

public StatelessClassRule()
Method Detail

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject
Overrides:
getMetaClass in class AbstractAstVisitorRule

setMetaClass

public void setMetaClass(groovy.lang.MetaClass mc)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject
Overrides:
setMetaClass in class AbstractAstVisitorRule

invokeMethod

public java.lang.Object invokeMethod(java.lang.String method,
                                     java.lang.Object arguments)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject
Overrides:
invokeMethod in class AbstractAstVisitorRule

getProperty

public java.lang.Object getProperty(java.lang.String property)
Specified by:
getProperty in interface groovy.lang.GroovyObject
Overrides:
getProperty in class AbstractAstVisitorRule

setProperty

public void setProperty(java.lang.String property,
                        java.lang.Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject
Overrides:
setProperty in class AbstractAstVisitorRule

getName

public java.lang.String getName()
Specified by:
getName in interface Rule
Specified by:
getName in class AbstractRule

setName

public void setName(java.lang.String value)
Specified by:
setName in class AbstractRule

getPriority

public int getPriority()
Specified by:
getPriority in interface Rule
Specified by:
getPriority in class AbstractRule

setPriority

public void setPriority(int value)
Specified by:
setPriority in class AbstractRule

getIgnoreFieldNames

public java.lang.String getIgnoreFieldNames()

setIgnoreFieldNames

public void setIgnoreFieldNames(java.lang.String value)

getIgnoreFieldTypes

public java.lang.String getIgnoreFieldTypes()

setIgnoreFieldTypes

public void setIgnoreFieldTypes(java.lang.String value)

getAstVisitorClass

public java.lang.Class getAstVisitorClass()
Overrides:
getAstVisitorClass in class AbstractAstVisitorRule

setAstVisitorClass

public void setAstVisitorClass(java.lang.Class value)
Overrides:
setAstVisitorClass in class AbstractAstVisitorRule

setAddToIgnoreFieldNames

public void setAddToIgnoreFieldNames(java.lang.String moreFieldNames)


Copyright © 2011. All Rights Reserved.