# MessageStatus

Import: `import com.install4j.api.screens.MessageStatus;`

```java
public final enum MessageStatus
```

Status of a console message, used by [`Console.println`](Console.md#println-object-messagestatus)
to color the output in consoles that support styling.

## Constants

### SUCCESS

A message indicating success. Rich consoles render this in green.

### ERROR

A message indicating an error. Rich consoles render this in red.

## Methods

| Signature | Returns | Description |
|---|---|---|
| [`values()`](#values) | `MessageStatus[]` |  |
| [`valueOf(String)`](#valueof-string) | `MessageStatus` |  |

### values()

```java
public static MessageStatus[] values()
```

### valueOf(String)

```java
public static MessageStatus valueOf(String name)
```

