Class SpringRules
java.lang.Object
org.palladiosimulator.somox.analyzer.rules.impl.SpringRules
-
Field Summary
-
Constructor Summary
-
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.boolean
hasMapping
(org.eclipse.jdt.core.dom.MethodDeclaration m) boolean
boolean
isRepository
(org.eclipse.jdt.core.dom.CompilationUnit unit) boolean
isRepository
(org.eclipse.jdt.core.dom.ITypeBinding binding) void
processRuleForCompUnit
(RuleEngineBlackboard blackboard, org.eclipse.jdt.core.dom.CompilationUnit unit, String applicationName, String contextPath, Map<String, String> contextVariables) void
processRules
(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:
processRules
in 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:
isBuildRule
in interfaceRule
-
getConfigurationKeys
- Specified by:
getConfigurationKeys
in interfaceService
-
getID
-
getName
-
getRequiredServices
Description copied from interface:Service
IDs of services that must run before this one.- Specified by:
getRequiredServices
in interfaceService
-
getDependentServices
Description copied from interface:Service
IDs of services that may only run after this one.- Specified by:
getDependentServices
in interfaceService
-