java.lang.Object
org.palladiosimulator.retriever.extraction.rules.SpringRules
All Implemented Interfaces:
org.palladiosimulator.retriever.services.Rule, org.palladiosimulator.retriever.services.Service

public class SpringRules extends Object implements org.palladiosimulator.retriever.services.Rule
  • Field Details

  • Constructor Details

    • SpringRules

      public SpringRules()
  • Method Details

    • processRules

      public void processRules(org.palladiosimulator.retriever.services.blackboard.RetrieverBlackboard blackboard, Path path)
      Specified by:
      processRules in interface org.palladiosimulator.retriever.services.Rule
    • collectContextVariables

      public Map<String,String> collectContextVariables(Iterable<Map<String,Object>> applicationYaml)
    • collectContextVariables

      public Map<String,String> collectContextVariables(Map<String,Object> applicationYaml)
    • processRuleForCompUnit

      public void processRuleForCompUnit(org.palladiosimulator.retriever.services.blackboard.RetrieverBlackboard blackboard, org.eclipse.jdt.core.dom.CompilationUnit unit, String applicationName, String contextPath, Map<String,String> contextVariables)
    • substituteVariables

      public String substituteVariables(String string, Map<String,String> contextVariables)
    • hasMapping

      public boolean hasMapping(org.eclipse.jdt.core.dom.MethodDeclaration m)
    • getMapping

      public String getMapping(org.eclipse.jdt.core.dom.MethodDeclaration m)
    • getHTTPMethod

      public HTTPMethod getHTTPMethod(org.eclipse.jdt.core.dom.MethodDeclaration m)
    • getMappingString

      public String getMappingString(org.eclipse.jdt.core.dom.MethodDeclaration m, String annotationName)
    • 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 interface org.palladiosimulator.retriever.services.Rule
    • getConfigurationKeys

      public Set<String> getConfigurationKeys()
      Specified by:
      getConfigurationKeys in interface org.palladiosimulator.retriever.services.Service
    • getID

      public String getID()
      Specified by:
      getID in interface org.palladiosimulator.retriever.services.Service
    • getName

      public String getName()
      Specified by:
      getName in interface org.palladiosimulator.retriever.services.Service
    • getRequiredServices

      public Set<String> getRequiredServices()
      Specified by:
      getRequiredServices in interface org.palladiosimulator.retriever.services.Service
    • getDependentServices

      public Set<String> getDependentServices()
      Specified by:
      getDependentServices in interface org.palladiosimulator.retriever.services.Service