public static enum TODO.Severity extends Enum<TODO.Severity>
Enum Constant and Description |
---|
CRITICAL
If change severity is set to
CRITICAL it means that wihtout
this change some progress is not possible. |
DOCUMENTATION
DOCUMENTATION severity refers to code which should be
documented. |
IMPORTANT
IMPORTANT severity means that this code does not block
implementation of any functionality but might be inefficient, insecure
or contain some temporary solution. |
TRIVIAL
TRIVIAL severity means that this code works correctly and
is implemented according to design but there is still some minor
improvement that can be done or just cleaning the code. |
Modifier and Type | Method and Description |
---|---|
static TODO.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TODO.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TODO.Severity CRITICAL
CRITICAL
it means that wihtout
this change some progress is not possible. Probably it blocks some
important functionality like SSL activation for server port.public static final TODO.Severity IMPORTANT
IMPORTANT
severity means that this code does not block
implementation of any functionality but might be inefficient, insecure
or contain some temporary solution.IMPORTANT
severity can be also assigned to code which needs
some medium or major refactoring.public static final TODO.Severity TRIVIAL
TRIVIAL
severity means that this code works correctly and
is implemented according to design but there is still some minor
improvement that can be done or just cleaning the code.TRIVIAL
severity can be assigned also to code which needs
some minor refactoring.public static final TODO.Severity DOCUMENTATION
DOCUMENTATION
severity refers to code which should be
documented. It does not refer to API documentation. It refers to in-line
documentation which should be added due to complicity of some code or
unusual algorithm used.public static TODO.Severity[] values()
for (TODO.Severity c : TODO.Severity.values()) System.out.println(c);
public static TODO.Severity 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 © 2017 "Tigase, Inc.". All rights reserved.