|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.webconsole.bundleinfo.BundleInfoType
public final class BundleInfoType
This pre-java 5 enum defines all valid bundle information value types.
Field Summary | |
---|---|
static BundleInfoType |
LINK
Specifies that the value is String and is either a link to a
local Servlet, or link to external HTTP server. |
static BundleInfoType |
RESOURCE
This information type, specifies that the value of the information is URL object, that points to a resource. |
static BundleInfoType |
VALUE
That information type is for normal information keys, that provide a normal (not link) value as information. |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name of the type. |
void |
validate(java.lang.Object value)
That method is used to validate if the object is correct for the specified type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final BundleInfoType LINK
String
and is either a link to a
local Servlet, or link to external HTTP server. In case the link starts
with <protocol>://
the link will be considered as
external. Otherwise the link should be absolute link to a local Servlet
and must always start with /
.
for security reasons, the protocol cannot be file
for
external links.
public static final BundleInfoType RESOURCE
public static final BundleInfoType VALUE
Object
and UI will visualize it by using it's
Object.toString()
method.
Method Detail |
---|
public final java.lang.String getName()
public final void validate(java.lang.Object value)
value
- the value that will be validated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |