public static enum ResourceComputationScheduler.ComputationState extends Enum<ResourceComputationScheduler.ComputationState>
Enum Constant and Description |
---|
FAILED
Computation is over and has failed.
|
FINISHED
Computation is over and tear-down + post-treatments are finished.
|
FINISHING
Computation is over, tear-down and post-treatments are starting.
|
SCHEDULED
Computation is set-up and scheduled.
|
SETTING_UP
Computation is setting-up (preparing pools and so on).
|
Modifier and Type | Method and Description |
---|---|
static ResourceComputationScheduler.ComputationState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceComputationScheduler.ComputationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceComputationScheduler.ComputationState SETTING_UP
public static final ResourceComputationScheduler.ComputationState SCHEDULED
public static final ResourceComputationScheduler.ComputationState FINISHING
public static final ResourceComputationScheduler.ComputationState FAILED
public static final ResourceComputationScheduler.ComputationState FINISHED
public static ResourceComputationScheduler.ComputationState[] values()
for (ResourceComputationScheduler.ComputationState c : ResourceComputationScheduler.ComputationState.values()) System.out.println(c);
public static ResourceComputationScheduler.ComputationState 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 null
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.