|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<IconType>
org.jenkins.ui.icon.IconType
public enum IconType
Icon type.
| Enum Constant Summary | |
|---|---|
CORE
|
|
PLUGIN
|
|
| Method Summary | |
|---|---|
String |
toQualifiedUrl(String url)
Qualify the supplied icon url. |
String |
toQualifiedUrl(String url,
org.apache.commons.jelly.JellyContext context)
Qualify the supplied icon url. |
String |
toQualifiedUrl(String url,
String resURL)
Qualify the supplied icon url. |
static IconType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IconType[] |
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 IconType CORE
public static final IconType PLUGIN
| Method Detail |
|---|
public static IconType[] values()
for (IconType c : IconType.values()) System.out.println(c);
public static IconType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
public String toQualifiedUrl(String url,
org.apache.commons.jelly.JellyContext context)
url - The url to be qualified.context - The JellyContext.
public String toQualifiedUrl(String url)
StaplerRequest instance to resolve the Jenkins resource URL.
url - The url to be qualified.
public String toQualifiedUrl(String url,
String resURL)
url - The url to be qualified.resURL - The resource url prefix.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||