public class GrailsStatelessServiceRule extends StatelessClassRule implements groovy.lang.GroovyObject
CLOSURE_TEXT, DEFAULT_CONST_NAME, DEFAULT_FIELD_NAME, DEFAULT_TEST_CLASS_NAMES, DEFAULT_TEST_FILES, DEFAULT_VAR_NAME| Constructor and Description |
|---|
GrailsStatelessServiceRule() |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplyToClassNames() |
String |
getApplyToFilesMatching() |
groovy.lang.MetaClass |
getMetaClass() |
String |
getName() |
int |
getPriority() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
void |
setApplyToClassNames(String value) |
void |
setApplyToFilesMatching(String value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setName(String value)
Set the unique name for this rule
|
void |
setPriority(int value)
Set the priority for this rule
|
void |
setProperty(String property,
Object value) |
protected boolean |
shouldIgnoreField(org.codehaus.groovy.ast.FieldNode fieldNode) |
getAstVisitorClass, getIgnoreFieldNames, getIgnoreFieldTypes, isReady, setAddToIgnoreFieldNames, setAstVisitorClass, setIgnoreFieldNames, setIgnoreFieldTypesapplyTo, getAstVisitor, getDoNotApplyToClassNames, setDoNotApplyToClassNames, shouldApplyThisRuleToapplyTo, createViolation, createViolation, createViolation, createViolation, createViolation, createViolationForImport, createViolationForImport, createViolationForImport, getApplyToFileNames, getCompilerPhase, getDescription, getDoNotApplyToFileNames, getDoNotApplyToFilesMatching, getViolationMessage, isEnabled, setApplyToFileNames, setDescription, setDoNotApplyToFileNames, setDoNotApplyToFilesMatching, setEnabled, setViolationMessage, toString, validatepublic groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectgetMetaClass in class StatelessClassRulepublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectsetMetaClass in class StatelessClassRulepublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectinvokeMethod in class StatelessClassRulepublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectgetProperty in class StatelessClassRulepublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectsetProperty in class StatelessClassRulepublic String getName()
getName in interface RulegetName in class StatelessClassRulepublic void setName(String value)
AbstractRulesetName in class StatelessClassRulevalue - - the name for this rule; this should be uniquepublic int getPriority()
getPriority in interface RulegetPriority in class StatelessClassRulepublic void setPriority(int value)
AbstractRulesetPriority in class StatelessClassRulevalue - - the priority of this rule, between 1 (highest priority) and 3 (lowest priority), inclusive.public String getApplyToFilesMatching()
getApplyToFilesMatching in class AbstractRulepublic void setApplyToFilesMatching(String value)
setApplyToFilesMatching in class AbstractRulepublic String getApplyToClassNames()
getApplyToClassNames in class AbstractAstVisitorRulepublic void setApplyToClassNames(String value)
setApplyToClassNames in class AbstractAstVisitorRuleprotected boolean shouldIgnoreField(org.codehaus.groovy.ast.FieldNode fieldNode)
shouldIgnoreField in class StatelessClassRuleCopyright © 2021. All rights reserved.