Package com.sas.lsaf.content.repository
Enum Class RepositoryItem.Syncable
- All Implemented Interfaces:
Serializable,Comparable<RepositoryItem.Syncable>,Constable
- Enclosing class:
RepositoryItem
Syncable enumeration that controls the workspace synchronization behavior for a specific repository item.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAllow the user to synchronize the item (and child items, if they exist) to the user's workspace.Prevents the user from synchronizing the item (and child items, if they exist) to the user's workspace.Prevents the user from synchronizing the item (and child items, if they exist) to their workspace.Enables the user interface to warn the user that they are about to synchronize a large item (or subtree of items) to their workspace. -
Method Summary
Modifier and TypeMethodDescriptionstatic RepositoryItem.SyncableReturns the enum constant of this class with the specified name.static RepositoryItem.Syncable[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALLOW
Allow the user to synchronize the item (and child items, if they exist) to the user's workspace. -
WARN
Enables the user interface to warn the user that they are about to synchronize a large item (or subtree of items) to their workspace. This state does not prevent the user from synchronizing and is not enforced on the server in any way. It is merely a state for the user interface to use. -
DENY
Prevents the user from synchronizing the item (and child items, if they exist) to the user's workspace. Unlike the WARN setting, this state is enforced by the server and prevents a user from synchronizing at the repository item interactively. Non-interactive processes, such as published job executions, can still synchronize the location.Although this state prevents synchronizing from the specific item, if the node is a container, the user can directly synchronize the child items (unless the child items are set to DENY). In other words, this state does not cascade to child items.
-
DENY_ALL
Prevents the user from synchronizing the item (and child items, if they exist) to their workspace. Unlike the WARN setting, this state is enforced by the server and prevents the user from synchronizing the repository item interactively. Non-interactive processes, such as published job executions, are also blocked and cannot synchronize.Although this state prevents synchronizing from the specific item, if the node is a container, the user can directly synchronize the child items (unless the child items are set to DENY). In other words, this state does not cascade to child items.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-