public static enum GradebookService.PointsPossibleValidation extends Enum<GradebookService.PointsPossibleValidation>
GradebookService.isPointsPossibleValid(String, Assignment, Double) for usage| Enum Constant and Description |
|---|
INVALID_DECIMAL
The points possible/relative weight is invalid because it contains more than 2 decimal places
|
INVALID_NULL_VALUE
The points possible/relative weight is invalid because it is null and a value is required.
|
INVALID_NUMERIC_VALUE
The points possible/relative weight is invalid because it is a value <= 0
|
VALID
The points possible/relative weight is valid
|
| Modifier and Type | Method and Description |
|---|---|
static GradebookService.PointsPossibleValidation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GradebookService.PointsPossibleValidation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GradebookService.PointsPossibleValidation VALID
public static final GradebookService.PointsPossibleValidation INVALID_NULL_VALUE
public static final GradebookService.PointsPossibleValidation INVALID_NUMERIC_VALUE
public static final GradebookService.PointsPossibleValidation INVALID_DECIMAL
public static GradebookService.PointsPossibleValidation[] values()
for (GradebookService.PointsPossibleValidation c : GradebookService.PointsPossibleValidation.values()) System.out.println(c);
public static GradebookService.PointsPossibleValidation 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 nullCopyright © 2003–2018 Sakai Project. All rights reserved.