public enum Connectivity extends Enum<Connectivity> implements FlowElementAttribute
Enum Constant and Description |
---|
MANDATORY
The port must be connected.
|
OPTIONAL
The port may or may not be connected.
|
Modifier and Type | Method and Description |
---|---|
static Connectivity |
getDefault()
Returns the default connectivity.
|
static Connectivity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Connectivity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getDeclaringClass
public static final Connectivity OPTIONAL
public static final Connectivity MANDATORY
public static Connectivity[] values()
for (Connectivity c : Connectivity.values()) System.out.println(c);
public static Connectivity 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 nullpublic static Connectivity getDefault()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.