|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<EmittedArtifact.Visibility> com.google.gwt.core.ext.linker.EmittedArtifact.Visibility
public static enum EmittedArtifact.Visibility
Describes the visibility of an artifact.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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(java.lang.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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
public static EmittedArtifact.Visibility[] values()
for (EmittedArtifact.Visibility c : EmittedArtifact.Visibility.values()) System.out.println(c);
public static EmittedArtifact.Visibility 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 name
java.lang.NullPointerException
- if the argument is nullpublic boolean matches(EmittedArtifact.Visibility visibility)
LegacyDeploy
matches both
Private
and Deploy
.
visibility
-
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |