Package | Description |
---|---|
com.github.rvesse.airline.annotations.restrictions | |
com.github.rvesse.airline.restrictions.common |
Modifier and Type | Method and Description |
---|---|
static PortType |
PortType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PortType[] |
PortType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PortType.contains(PortType other)
Gets whether the port type contains another port type i.e.
|
Modifier and Type | Method and Description |
---|---|
static String |
PortType.toRangesString(Iterable<PortType> portTypes)
Gets a string denoting all the acceptable port ranges
|
Constructor and Description |
---|
PortRestriction(PortType... portTypes) |
Copyright © 2012–2017. All rights reserved.