public enum WeblinkAddressStrategy extends Enum<WeblinkAddressStrategy>
Enum Constant and Description |
---|
AUTO_SELECT
Looks at current weblink settings and determine which location to set based on if the URL is set and valid and if
the printer is connected to the address.
|
FORCE_CONNECTION_1
Overrides any setting in Weblink location 1.
|
FORCE_CONNECTION_2
Overrides any setting in Weblink location 2
|
Modifier and Type | Method and Description |
---|---|
static WeblinkAddressStrategy |
lookupInt(int index)
Returns the enum constant of this type with the specified
index . |
static WeblinkAddressStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WeblinkAddressStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WeblinkAddressStrategy AUTO_SELECT
public static final WeblinkAddressStrategy FORCE_CONNECTION_1
public static final WeblinkAddressStrategy FORCE_CONNECTION_2
public static WeblinkAddressStrategy[] values()
for (WeblinkAddressStrategy c : WeblinkAddressStrategy.values()) System.out.println(c);
public static WeblinkAddressStrategy 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 WeblinkAddressStrategy lookupInt(int index)
index
. Defaults to AUTO_SELECT
if
the integer has no corresponding value.index
- WeblinkStrategy enum index.
© 2017 ZIH Corp. All Rights Reserved.