public enum ProtectedAccess extends Enum<ProtectedAccess>
Enum Constant and Description |
---|
CLOSED
Deprecated.
Use PROTECTED instead.
|
FREE
Article can be freely shared on touch devices but are subject to paywall threshold rules for the web viewer (new
in R26) (only available for articles that target viewer 26 or greater)
|
METERED
Article can be shared after publishing via social sharing, subject to paywall threshold rules on both touch
devices and in the web viewer.
|
OPEN
Deprecated.
Use METERED instead.
|
PROTECTED
Article cannot be shared.
|
Modifier and Type | Method and Description |
---|---|
static ProtectedAccess |
getProtectedAccess(String value)
Return the ProtectedAccess object for the specified value
|
String |
getValue() |
static boolean |
isProtectedAccess(String value)
Returns true if this is a ProtectedAccess and false otherwise.
|
static ProtectedAccess |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtectedAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtectedAccess PROTECTED
@Deprecated public static final ProtectedAccess CLOSED
public static final ProtectedAccess METERED
@Deprecated public static final ProtectedAccess OPEN
public static final ProtectedAccess FREE
public static ProtectedAccess[] values()
for (ProtectedAccess c : ProtectedAccess.values()) System.out.println(c);
public static ProtectedAccess 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 String getValue()
public static final boolean isProtectedAccess(String value)
value
- The value to checkpublic static final ProtectedAccess getProtectedAccess(String value)
value
- used to specify the ProtectedAccess"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"