public enum ScanTaskState extends Enum<ScanTaskState>
| Enum Constant and Description |
|---|
Archiving |
Cancelled |
Complete |
Delayed |
Failed |
Paused |
Pausing |
Queued |
Resuming |
Scanning |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumber() |
String |
getNumberAsString() |
static ScanTaskState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScanTaskState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScanTaskState Queued
public static final ScanTaskState Scanning
public static final ScanTaskState Archiving
public static final ScanTaskState Complete
public static final ScanTaskState Failed
public static final ScanTaskState Cancelled
public static final ScanTaskState Delayed
public static final ScanTaskState Pausing
public static final ScanTaskState Paused
public static final ScanTaskState Resuming
public static ScanTaskState[] values()
for (ScanTaskState c : ScanTaskState.values()) System.out.println(c);
public static ScanTaskState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getNumber()
public String getNumberAsString()
Copyright © 2016–2021. All rights reserved.