Package com.hello2morrow.sonargraph.api
Enum DependencyKind
- java.lang.Object
-
- java.lang.Enum<DependencyKind>
-
- com.hello2morrow.sonargraph.api.DependencyKind
-
- All Implemented Interfaces:
IDependencyKind
,java.io.Serializable
,java.lang.Comparable<DependencyKind>
public enum DependencyKind extends java.lang.Enum<DependencyKind> implements IDependencyKind
Language agnostic dependency type enumeration.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DependencyKind
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DependencyKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface com.hello2morrow.sonargraph.api.IDependencyKind
name
-
-
-
-
Enum Constant Detail
-
USES
public static final DependencyKind USES
-
READ
public static final DependencyKind READ
-
WRITE
public static final DependencyKind WRITE
-
EXTENDS
public static final DependencyKind EXTENDS
-
IMPLEMENTS
public static final DependencyKind IMPLEMENTS
-
CALL
public static final DependencyKind CALL
-
NEW
public static final DependencyKind NEW
-
-
Method Detail
-
values
public static DependencyKind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DependencyKind c : DependencyKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DependencyKind valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-