Rule
public class GrailsStatelessServiceRule extends StatelessClassRule
CLOSURE_TEXT, DEFAULT_CONST_NAME, DEFAULT_FIELD_NAME, DEFAULT_TEST_CLASS_NAMES, DEFAULT_TEST_FILES, DEFAULT_VAR_NAME
Constructor | Description |
---|---|
GrailsStatelessServiceRule() |
Modifier and Type | Method | 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) |
applyTo, getAstVisitor, getDoNotApplyToClassNames, setDoNotApplyToClassNames, shouldApplyThisRuleTo
applyTo, createViolation, createViolation, createViolationForImport, createViolationForImport, getApplyToFileNames, getCompilerPhase, getDescription, getDoNotApplyToFileNames, getDoNotApplyToFilesMatching, getViolationMessage, isEnabled, setApplyToFileNames, setDescription, setDoNotApplyToFileNames, setDoNotApplyToFilesMatching, setEnabled, setViolationMessage, toString, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAstVisitorClass, getIgnoreFieldNames, getIgnoreFieldTypes, isReady, setAddToIgnoreFieldNames, setAstVisitorClass, setIgnoreFieldNames, setIgnoreFieldTypes
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in class StatelessClassRule
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in class StatelessClassRule
public Object invokeMethod(String method, Object arguments)
invokeMethod
in class StatelessClassRule
public Object getProperty(String property)
getProperty
in class StatelessClassRule
public void setProperty(String property, Object value)
setProperty
in class StatelessClassRule
public String getName()
getName
in interface Rule
getName
in class StatelessClassRule
public void setName(String value)
AbstractRule
setName
in class StatelessClassRule
value
- - the name for this rule; this should be uniquepublic int getPriority()
getPriority
in interface Rule
getPriority
in class StatelessClassRule
public void setPriority(int value)
AbstractRule
setPriority
in class StatelessClassRule
value
- - the priority of this rule, between 1 (highest priority) and 3 (lowest priority), inclusive.public String getApplyToFilesMatching()
getApplyToFilesMatching
in class AbstractRule
public void setApplyToFilesMatching(String value)
setApplyToFilesMatching
in class AbstractRule
public String getApplyToClassNames()
getApplyToClassNames
in class AbstractAstVisitorRule
public void setApplyToClassNames(String value)
setApplyToClassNames
in class AbstractAstVisitorRule
protected boolean shouldIgnoreField(org.codehaus.groovy.ast.FieldNode fieldNode)
shouldIgnoreField
in class StatelessClassRule
Copyright © 2019. All rights reserved.