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
Fields -
Constructor Summary
Constructors -
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()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(org.palladiosimulator.retriever.services.blackboard.RetrieverBlackboard blackboard, org.eclipse.jdt.core.dom.CompilationUnit unit, String applicationName, String contextPath, Map<String, String> contextVariables) voidprocessRules(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, waitMethods 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:
processRulesin 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:
isBuildRulein interfaceorg.palladiosimulator.retriever.services.Rule
-
getConfigurationKeys
- Specified by:
getConfigurationKeysin interfaceorg.palladiosimulator.retriever.services.Service
-
getID
- Specified by:
getIDin interfaceorg.palladiosimulator.retriever.services.Service
-
getName
- Specified by:
getNamein interfaceorg.palladiosimulator.retriever.services.Service
-
getRequiredServices
- Specified by:
getRequiredServicesin interfaceorg.palladiosimulator.retriever.services.Service
-
getDependentServices
- Specified by:
getDependentServicesin interfaceorg.palladiosimulator.retriever.services.Service
-