|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<RedmineModelScope>
org.nuiton.jredmine.model.RedmineModelScope
public enum RedmineModelScope
Une enumeration pour caracteriser le scope d'une donnée dans le modèle.
Pour une donnée qui ne dépend de rien, elle est en scopenone.
Pour une donnée qui dépend d'un projet, elle est en scope project.
Pour une donnée qui dépend d'une version, elle est en scpoe version.
A savoir qu'une donnée de scope version, elle est aussi de scope
project car la version dépend en dépend.
| Enum Constant Summary | |
|---|---|
none
none scope, requires nothing |
|
project
project scope, requires a project |
|
version
version scope, requires a project and a version |
|
| Method Summary | |
|---|---|
static RedmineModelScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RedmineModelScope[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final RedmineModelScope none
public static final RedmineModelScope project
public static final RedmineModelScope version
| Method Detail |
|---|
public static RedmineModelScope[] values()
for (RedmineModelScope c : RedmineModelScope.values()) System.out.println(c);
public static RedmineModelScope valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||