public static enum EmittedArtifact.Visibility extends Enum<EmittedArtifact.Visibility>
Enum Constant and Description |
---|
Deploy
A deploy artifact is deployed to the server but is never served to the
client.
|
LegacyDeploy
For legacy use only - used for artifacts that were previously marked as
private because they should not be delivered to the client, but actually
should be visible to the server.
|
Private
A private artifact is something that is only used during the build
process.
|
Public
A public artifact is something that may be served to clients.
|
Source
A Source artifact is a file intended for source-level debugging
in a browser.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(EmittedArtifact.Visibility visibility)
Returns true if this visibility matches the requested visibility level,
dealing with the fact that
LegacyDeploy matches both
Private and Deploy . |
static EmittedArtifact.Visibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EmittedArtifact.Visibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmittedArtifact.Visibility Public
public static final EmittedArtifact.Visibility Private
public static final EmittedArtifact.Visibility Deploy
public static final EmittedArtifact.Visibility Source
public static final EmittedArtifact.Visibility LegacyDeploy
public static EmittedArtifact.Visibility[] values()
for (EmittedArtifact.Visibility c : EmittedArtifact.Visibility.values()) System.out.println(c);
public static EmittedArtifact.Visibility 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 boolean matches(EmittedArtifact.Visibility visibility)
LegacyDeploy
matches both
Private
and Deploy
.visibility
- Copyright © 2018. All rights reserved.