Class EcmaScriptRules
java.lang.Object
org.palladiosimulator.retriever.extraction.rules.EcmaScriptRules
- All Implemented Interfaces:
org.palladiosimulator.retriever.services.Rule,org.palladiosimulator.retriever.services.Service
public class EcmaScriptRules
extends Object
implements org.palladiosimulator.retriever.services.Rule
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindAllHttpRequests(org.palladiosimulator.retriever.services.blackboard.RetrieverBlackboard blackboard, org.openjdk.nashorn.api.tree.CompilationUnitTree unit) findDirectHttpRequest(org.openjdk.nashorn.api.tree.Tree element) findFunctionCallsWithUrls(org.openjdk.nashorn.api.tree.Tree element) findFunctionDeclarationsWithUrls(org.openjdk.nashorn.api.tree.Tree element) findLiteralInExpression(org.openjdk.nashorn.api.tree.ExpressionTree expression) findLiteralsForIdentifier(org.openjdk.nashorn.api.tree.Tree element, String identifier) findLiteralsInArguments(List<? extends org.openjdk.nashorn.api.tree.ExpressionTree> arguments) findVariableAssignments(org.openjdk.nashorn.api.tree.Tree element) getID()getName()booleanstatic HashMap<String,Collection<String>> mapURL(String host, String url, List<org.palladiosimulator.retriever.extraction.rules.data.GatewayRoute> routes) voidprocessRules(org.palladiosimulator.retriever.services.blackboard.RetrieverBlackboard blackboard, Path path) 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:
-
ECMASCRIPT_DISCOVERER_ID
- See Also:
-
HOSTNAMES_ID
- See Also:
-
GATEWAY_ROUTES_ID
- See Also:
-
DONE_ID
- See Also:
-
-
Constructor Details
-
EcmaScriptRules
public EcmaScriptRules()
-
-
Method Details
-
processRules
public void processRules(org.palladiosimulator.retriever.services.blackboard.RetrieverBlackboard blackboard, Path path) - Specified by:
processRulesin interfaceorg.palladiosimulator.retriever.services.Rule
-
findAllHttpRequests
-
findDirectHttpRequest
-
findFunctionCallsWithUrls
-
findFunctionDeclarationsWithUrls
-
findLiteralInExpression
-
findLiteralsForIdentifier
-
findLiteralsInArguments
-
findVariableAssignments
-
join
-
mapURL
-
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
-