Package 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
  Description
  `SystemResolver()`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### SystemResolver

    public SystemResolver()

- ## Method Details

  - ### 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