org.apache.synapse.commons.resolvers

## Class SystemResolver

- java.lang.Object
- - org.apache.synapse.commons.resolvers.SystemResolver

- All Implemented Interfaces:
    Resolver

      public class SystemResolver
      extends Object
      implements Resolver

  System resolver can be used to resolve environment variables in the synapse config.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SystemResolver()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `resolve()` environment variable is resolved in this function
    `void` | `setVariable(String input)` set environment variable which needs to resolved

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SystemResolver

          public SystemResolver()

  - ### Method Detail

    - #### setVariable

          public void setVariable(String input)

      set environment variable which needs to resolved
      Specified by:
        `setVariable` in interface `Resolver`

    - #### resolve

          public String resolve()

      environment variable is resolved in this function
      Specified by:
        `resolve` in interface `Resolver`
      Returns:
        resolved value for the environment variable

Copyright © 2005–2019 Apache Software Foundation. All rights reserved.