@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-28T18:14:32.054Z") @Stability(value=Stable) public enum SymlinkFollowMode extends Enum<SymlinkFollowMode>
Enum Constant and Description |
---|
ALWAYS
Materialize all symlinks, whether they are internal or external to the source directory.
|
BLOCK_EXTERNAL
Forbids source from having any symlinks pointing outside of the source tree.
|
EXTERNAL
Only follows symlinks that are external to the source directory.
|
NEVER
Never follow symlinks.
|
Modifier and Type | Method and Description |
---|---|
static SymlinkFollowMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SymlinkFollowMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final SymlinkFollowMode NEVER
@Stability(value=Stable) public static final SymlinkFollowMode ALWAYS
@Stability(value=Stable) public static final SymlinkFollowMode EXTERNAL
@Stability(value=Stable) public static final SymlinkFollowMode BLOCK_EXTERNAL
This is the safest mode of operation as it ensures that copy operations won't materialize files from the user's file system. Internal symlinks are not followed.
If the copy operation runs into an external symlink, it will fail.
public static SymlinkFollowMode[] values()
for (SymlinkFollowMode c : SymlinkFollowMode.values()) System.out.println(c);
public static SymlinkFollowMode 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 nullCopyright © 2022. All rights reserved.