public abstract class Status extends AbstractType<Status>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
error
If it stands for an error.
|
importance, name| Modifier | Constructor and Description |
|---|---|
protected |
Status(String name,
double importance,
boolean error)
Creates a status.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isError()
true, if stands for an error, false, otherwise.
|
void |
setError(boolean error)
Set error status.
|
asNode, asString, compareTo, equals, getCssName, getName, hashCode, max, setNameprotected Status(String name, double importance, boolean error)
name - The name.importance - The importante.error - The error flag.Copyright © 2016. All rights reserved.