public enum AssetLocation extends Enum<AssetLocation>
Enum Constant and Description |
---|
APPLICATION
An application served asset.
|
SERVER
A server served asset, server assets URI is managed by Juzu and is computed relative to the server
deployment.
|
URL
An external asset, not managed by Juzu.
|
Modifier and Type | Method and Description |
---|---|
static AssetLocation |
safeValueOf(String name) |
static AssetLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssetLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssetLocation URL
public static final AssetLocation SERVER
public static final AssetLocation APPLICATION
public static AssetLocation[] values()
for (AssetLocation c : AssetLocation.values()) System.out.println(c);
public static AssetLocation 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 static AssetLocation safeValueOf(String name)
Copyright © 2015 eXo Platform SAS. All rights reserved.