Class SpringRules
java.lang.Object
org.palladiosimulator.retriever.extraction.rules.SpringRules
- All Implemented Interfaces:
org.palladiosimulator.retriever.services.Rule
,org.palladiosimulator.retriever.services.Service
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncollectContextVariables
(Iterable<Map<String, Object>> applicationYaml) collectContextVariables
(Map<String, Object> applicationYaml) 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()
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
(org.palladiosimulator.retriever.services.blackboard.RetrieverBlackboard blackboard, org.eclipse.jdt.core.dom.CompilationUnit unit, String applicationName, String contextPath, Map<String, String> contextVariables) void
processRules
(org.palladiosimulator.retriever.services.blackboard.RetrieverBlackboard blackboard, Path path) substituteVariables
(String string, Map<String, String> contextVariables) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.palladiosimulator.retriever.services.Rule
create
-
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
public void processRules(org.palladiosimulator.retriever.services.blackboard.RetrieverBlackboard blackboard, Path path) - Specified by:
processRules
in interfaceorg.palladiosimulator.retriever.services.Rule
-
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 interfaceorg.palladiosimulator.retriever.services.Rule
-
getConfigurationKeys
- Specified by:
getConfigurationKeys
in interfaceorg.palladiosimulator.retriever.services.Service
-
getID
- Specified by:
getID
in interfaceorg.palladiosimulator.retriever.services.Service
-
getName
- Specified by:
getName
in interfaceorg.palladiosimulator.retriever.services.Service
-
getRequiredServices
- Specified by:
getRequiredServices
in interfaceorg.palladiosimulator.retriever.services.Service
-
getDependentServices
- Specified by:
getDependentServices
in interfaceorg.palladiosimulator.retriever.services.Service
-