Uses of Class
org.sonar.iac.docker.symbols.ArgumentResolution
-
Packages that use ArgumentResolution Package Description org.sonar.iac.docker.checks.utils org.sonar.iac.docker.checks.utils.command org.sonar.iac.docker.symbols -
-
Uses of ArgumentResolution in org.sonar.iac.docker.checks.utils
Methods in org.sonar.iac.docker.checks.utils that return types with arguments of type ArgumentResolution Modifier and Type Method Description SeparatedList<List<ArgumentResolution>,String>CommandDetector.SeparatedListBuilder. build()List<ArgumentResolution>CommandDetector.Command. getResolvedArguments()TODO: After SONARIAC-1088 may become redundant as CommandDetector will be capable of more complex matchingstatic List<ArgumentResolution>CheckUtils. resolveInstructionArguments(HasArguments instructionWithArguments)static SeparatedList<List<ArgumentResolution>,String>ArgumentResolutionSplitter. splitCommands(Iterable<ArgumentResolution> resolvedArguments)Split commands by separators:&&,||,&,|and;.Methods in org.sonar.iac.docker.checks.utils with parameters of type ArgumentResolution Modifier and Type Method Description voidCommandDetector.SeparatedListBuilder. addToCurrentCommand(ArgumentResolution argumentResolution)booleanFlagNoSpaceArgumentPredicate. test(ArgumentResolution resolution)Method parameters in org.sonar.iac.docker.checks.utils with type arguments of type ArgumentResolution Modifier and Type Method Description List<CommandDetector.Command>CommandDetector. search(List<ArgumentResolution> resolvedArguments)Search for the defined command in resolved arguments.List<CommandDetector.Command>CommandDetector. searchWithoutSplit(List<ArgumentResolution> resolvedArguments)Perform the same operation asCommandDetector.search(List), but it doesn't split arguments at the beginning.static SeparatedList<List<ArgumentResolution>,String>ArgumentResolutionSplitter. splitCommands(Iterable<ArgumentResolution> resolvedArguments)Split commands by separators:&&,||,&,|and;.CommandDetector.BuilderCommandDetector.Builder. withArgumentResolutionIncludeUnresolved(Predicate<ArgumentResolution> predicate)Constructor parameters in org.sonar.iac.docker.checks.utils with type arguments of type ArgumentResolution Constructor Description Command(List<ArgumentResolution> resolvedArguments) -
Uses of ArgumentResolution in org.sonar.iac.docker.checks.utils.command
Methods in org.sonar.iac.docker.checks.utils.command that return ArgumentResolution Modifier and Type Method Description ArgumentResolutionPredicateContext. getNextArgumentToHandle()ArgumentResolutionPredicateContext. getNextArgumentToHandleAndRemoveFromList()Methods in org.sonar.iac.docker.checks.utils.command that return types with arguments of type ArgumentResolution Modifier and Type Method Description Deque<ArgumentResolution>PredicateContext. getArgumentStack()List<ArgumentResolution>PredicateContext. getArgumentsToReport()Methods in org.sonar.iac.docker.checks.utils.command with parameters of type ArgumentResolution Modifier and Type Method Description voidPredicateContext. addAsArgumentToReport(ArgumentResolution resolution)voidPredicateContext. argumentShouldBeMatchedAgain(ArgumentResolution resolution)protected voidSingularPredicate. matchResolution(PredicateContext context, ArgumentResolution resolution)Constructor parameters in org.sonar.iac.docker.checks.utils.command with type arguments of type ArgumentResolution Constructor Description IncludingUnresolvedArgumentsArgumentResolutionPredicate(Predicate<ArgumentResolution> predicate)PredicateContext(Deque<ArgumentResolution> argumentStack, List<CommandPredicate> detectorPredicates) -
Uses of ArgumentResolution in org.sonar.iac.docker.symbols
Methods in org.sonar.iac.docker.symbols that return ArgumentResolution Modifier and Type Method Description static ArgumentResolutionArgumentResolution. of(Argument argument)Main method of the class, the point of entry to resolveArgumentin order to exploit the result in checks.static ArgumentResolutionArgumentResolution. ofWithoutStrippingQuotes(Argument argument)The method is similar toArgumentResolution#ofbut there is a control of strip quotes or double quotes in string literal.
-