Enum PythonDependencyKind
- java.lang.Object
-
- java.lang.Enum<PythonDependencyKind>
-
- com.hello2morrow.sonargraph.api.python.PythonDependencyKind
-
- All Implemented Interfaces:
IDependencyKind
,java.io.Serializable
,java.lang.Comparable<PythonDependencyKind>
public enum PythonDependencyKind extends java.lang.Enum<PythonDependencyKind> implements IDependencyKind
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CALL
DECORATED_BY
EXTENDS
IMPORT
NEW
READ
READ_INDEX
USES
WRITE
WRITE_INDEX
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PythonDependencyKind
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PythonDependencyKind[]
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
-
CALL
public static final PythonDependencyKind CALL
-
EXTENDS
public static final PythonDependencyKind EXTENDS
-
NEW
public static final PythonDependencyKind NEW
-
READ
public static final PythonDependencyKind READ
-
WRITE
public static final PythonDependencyKind WRITE
-
READ_INDEX
public static final PythonDependencyKind READ_INDEX
-
WRITE_INDEX
public static final PythonDependencyKind WRITE_INDEX
-
USES
public static final PythonDependencyKind USES
-
IMPORT
public static final PythonDependencyKind IMPORT
-
DECORATED_BY
public static final PythonDependencyKind DECORATED_BY
-
-
Method Detail
-
values
public static PythonDependencyKind[] 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 (PythonDependencyKind c : PythonDependencyKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PythonDependencyKind 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
-
-