# ServiceManager.ServiceStatus

`com.jsmacrosce.jsmacros.core.service.ServiceManager.ServiceStatus`

Combined enabled/running state of a service; [UNKNOWN](#com.jsmacrosce.jsmacros.core.service.ServiceManager.ServiceStatus_UNKNOWN) means it is not registered.

Nested type declared in [ServiceManager](ServiceManager.md).

## Fields

### DISABLED {#com.jsmacrosce.jsmacros.core.service.ServiceManager.ServiceStatus_DISABLED}

```js
static DISABLED: ServiceManager.ServiceStatus
```

Disabled and stopped.

### ENABLED {#com.jsmacrosce.jsmacros.core.service.ServiceManager.ServiceStatus_ENABLED}

```js
static ENABLED: ServiceManager.ServiceStatus
```

Enabled and running.

### RUNNING {#com.jsmacrosce.jsmacros.core.service.ServiceManager.ServiceStatus_RUNNING}

```js
static RUNNING: ServiceManager.ServiceStatus
```

Disabled but still running.

### STOPPED {#com.jsmacrosce.jsmacros.core.service.ServiceManager.ServiceStatus_STOPPED}

```js
static STOPPED: ServiceManager.ServiceStatus
```

Enabled but stopped.

### UNKNOWN {#com.jsmacrosce.jsmacros.core.service.ServiceManager.ServiceStatus_UNKNOWN}

```js
static UNKNOWN: ServiceManager.ServiceStatus
```

No service with the requested name is registered.

## Methods

### valueOf {#com.jsmacrosce.jsmacros.core.service.ServiceManager.ServiceStatus_valueOf-String-}

```js
static valueOf(String name): ServiceManager.ServiceStatus
```

**Returns:** `ServiceManager.ServiceStatus`

### values {#com.jsmacrosce.jsmacros.core.service.ServiceManager.ServiceStatus_values-}

```js
static values(): ServiceManager.ServiceStatus[]
```

**Returns:** `ServiceManager.ServiceStatus[]`
