public enum SymlinkPolicy extends java.lang.Enum<SymlinkPolicy>
{A818472E-215D-4279-8AF8-EAC4C0517BCC}
Enum Constant and Description |
---|
AllowedInShareSubtree
Users in the guest VM are allowed to create symbolic links within the Shared Folder so long
as the target remains in the Shared Folder or within the subtree of the Shared Folder.
|
AllowedToAnyTarget
Users in the guest VM are allowed to create symbolic links within the Shared Folder and
its subtree as well as to other targets via either relative pathnames or absolute pathnames.
|
AllowedToRelativeTargets
Users in the guest VM are allowed to create symbolic links within the Shared Folder to
targets within the Shared Folder and its subtree as well as to relative targets (../) outside of
the Shared Folder.
|
Forbidden
Users in the guest VM are not able to create symbolic links inside the Shared Folder.
|
None
No symlink policy set (never used by the API).
|
Modifier and Type | Method and Description |
---|---|
static SymlinkPolicy |
fromValue(long v) |
static SymlinkPolicy |
fromValue(java.lang.String v) |
int |
value() |
static SymlinkPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SymlinkPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SymlinkPolicy None
public static final SymlinkPolicy Forbidden
public static final SymlinkPolicy AllowedInShareSubtree
public static final SymlinkPolicy AllowedToRelativeTargets
public static final SymlinkPolicy AllowedToAnyTarget
public static SymlinkPolicy[] values()
for (SymlinkPolicy c : SymlinkPolicy.values()) System.out.println(c);
public static SymlinkPolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int value()
public static SymlinkPolicy fromValue(long v)
public static SymlinkPolicy fromValue(java.lang.String v)