Class SpringRules
java.lang.Object
org.palladiosimulator.somox.analyzer.rules.impl.SpringRules
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncollectContextVariables(Iterable<Map<String, Object>> applicationYaml) collectContextVariables(Map<String, Object> applicationYaml) IDs of services that may only run after this one.getHTTPMethod(org.eclipse.jdt.core.dom.MethodDeclaration m) getID()getMapping(org.eclipse.jdt.core.dom.MethodDeclaration m) getMappingString(org.eclipse.jdt.core.dom.MethodDeclaration m, String annotationName) getName()IDs of services that must run before this one.booleanhasMapping(org.eclipse.jdt.core.dom.MethodDeclaration m) booleanbooleanisRepository(org.eclipse.jdt.core.dom.CompilationUnit unit) booleanisRepository(org.eclipse.jdt.core.dom.ITypeBinding binding) voidprocessRuleForCompUnit(RuleEngineBlackboard blackboard, org.eclipse.jdt.core.dom.CompilationUnit unit, String applicationName, String contextPath, Map<String, String> contextVariables) voidprocessRules(RuleEngineBlackboard blackboard, Path path) substituteVariables(String string, Map<String, String> contextVariables)
-
Field Details
-
RULE_ID
- See Also:
-
JAVA_DISCOVERER_ID
- See Also:
-
YAML_DISCOVERER_ID
- See Also:
-
YAML_MAPPERS_KEY
- See Also:
-
XML_DISCOVERER_ID
- See Also:
-
PROPERTIES_DISCOVERER_ID
- See Also:
-
ZUUL_RULE_ID
- See Also:
-
CLOUD_GATEWAY_RULE_ID
- See Also:
-
-
Constructor Details
-
SpringRules
public SpringRules()
-
-
Method Details
-
processRules
- Specified by:
processRulesin interfaceRule
-
collectContextVariables
-
collectContextVariables
-
processRuleForCompUnit
-
substituteVariables
-
hasMapping
public boolean hasMapping(org.eclipse.jdt.core.dom.MethodDeclaration m) -
getMapping
-
getHTTPMethod
-
getMappingString
-
isRepository
public boolean isRepository(org.eclipse.jdt.core.dom.ITypeBinding binding) -
isRepository
public boolean isRepository(org.eclipse.jdt.core.dom.CompilationUnit unit) -
isBuildRule
public boolean isBuildRule()- Specified by:
isBuildRulein interfaceRule
-
getConfigurationKeys
- Specified by:
getConfigurationKeysin interfaceService
-
getID
-
getName
-
getRequiredServices
Description copied from interface:ServiceIDs of services that must run before this one.- Specified by:
getRequiredServicesin interfaceService
-
getDependentServices
Description copied from interface:ServiceIDs of services that may only run after this one.- Specified by:
getDependentServicesin interfaceService
-