Class IvyPatternHelper.Validated

java.lang.Object
org.apache.ivy.core.IvyPatternHelper.Validated
Enclosing class:
IvyPatternHelper

private static class IvyPatternHelper.Validated extends Object
This class returns a captured value after validating it doesn't contain any path traversal sequence.

toString

will be invoked when the value is actually used as a token inside of a pattern passed to IvyPatternHelper.substituteTokens(java.lang.String, java.util.Map<java.lang.String, java.lang.String>).

  • Field Details

    • tokenName

      private final String tokenName
    • tokenValue

      private final String tokenValue
  • Constructor Details

    • Validated

      private Validated(String tokenName, String tokenValue)
  • Method Details