> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class: Environment

**Package:** `com.phoenix_int.pacz.api.v2`

**Class Hierarchy**

```java theme={null}
↳ java.lang.Object
  ↳ java.util.AbstractMap<K,V>
    ↳ java.util.HashMap<java.lang.String,java.lang.String>
      ↳ com.phoenix_int.pacz.api.v2.Environment
```

**Implemented Interfaces**

* `java.io.Serializable`, `java.lang.Cloneable`, `java.util.Map<java.lang.String,java.lang.String>`

***

**Declaration**

```java theme={null}
public class Environment
extends java.util.HashMap<java.lang.String,java.lang.String>
```

Environment variables for component configuration

**See Also:**

* [Serialized Form](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/serialized-form.md)

## Nested Class Summary

### Nested classes/interfaces inherited from class java.util.AbstractMap

`java.util.AbstractMap.SimpleEntry<K,V>`, `java.util.AbstractMap.SimpleImmutableEntry<K,V>`

### Nested classes/interfaces inherited from interface java.util.Map

`java.util.Map.Entry<K,V>`

## Field Summary

| Modifier and Type | Field and Description |
| - | - |
| `static java.lang.String` | `COMPONENT_DIR` Pre-defined component directory environment variable |

## Constructor Summary

| Constructor and Description |
| - |
| `Environment()` Constructor |
| `Environment(java.util.Map<java.lang.String,java.lang.String> dictionary)` Copy constructor |

## Method Summary

| Modifier and Type | Method and Description |
| - | - |
| `java.lang.String` | `evaluateKey(java.lang.String key)` Get the value for the specified environment variable |
| `java.lang.String` | `evaluateString(java.lang.String str)` Substitute environment variables in specified string with corresponding environment values |

### Methods inherited from class java.util.HashMap

`clear`, `clone`, `compute`, `computeIfAbsent`, `computeIfPresent`, `containsKey`, `containsValue`, `entrySet`, `forEach`, `get`, `getOrDefault`, `isEmpty`, `keySet`, `merge`, `put`, `putAll`, `putIfAbsent`, `remove`, `remove`, `replace`, `replace`, `replaceAll`, `size`, `values`

### Methods inherited from class java.util.AbstractMap

`equals`, `hashCode`, `toString`

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

`finalize`, `getClass`, `notify`, `notifyAll`, `wait`, `wait`, `wait`

### Methods inherited from interface java.util.Map

`equals`, `hashCode`

## Field Detail

### COMPONENT\_DIR

```java theme={null}
public static final java.lang.String COMPONENT_DIR
```

Pre-defined component directory environment variable

**See Also:**

* [Constant Field Values](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/constant-values.md)

## Constructor Detail

### Environment

```java theme={null}
public Environment()
```

Constructor

### Environment

```java theme={null}
public Environment(java.util.Map<java.lang.String,java.lang.String> dictionary)
```

Copy constructor

**Parameters:**

* `dictionary` - dictionary to copy; if null, an empty map will be used

## Method Detail

### evaluateString

```java theme={null}
public java.lang.String evaluateString(java.lang.String str)
```

Substitute environment variables in specified string with corresponding environment values

**Parameters:**

* `str` - string on which to perform substitutions

**Returns:**

* string with substituted environment values

### evaluateKey

```java theme={null}
public java.lang.String evaluateKey(java.lang.String key)
```

Get the value for the specified environment variable

**Parameters:**

* `key` - environment variable for which to get value

**Returns:**

* value of environment variable; null if not found
