4.1

Table Of Contents
Method Returns Description
getValue()
int Returns one of the following values:
1
Parent has children
-1
Parent has no children
0
Unknown, or invalid
parameter
valueOf(java.lang.String name) static HasChildrenResult
Returns an enumeration constant of this
type with the specified name. The String
must match exactly an identifier used to
declare an enumeration constant of this
type. Do not use whitespace characters
in the enumeration name.
values() static HasChildrenResult[]
Returns an array containing the
constants of this enumeration type, in
the order they are declared. This
method can iterate over constants as
follows:
for (HasChildrenResult c :
HasChildrenResult.values())
System.out.println(c);
The HasChildrenResult enumeration inherits the following methods from class java.lang.Enum:
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
ScriptingAttribute Annotation Type
The ScriptingAttribute annotation type annotates an attribute from an object in the plugged in technology
for use as a property in scripting.
@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD})
public @interface ScriptingAttribute
The ScriptingAttribute annotation type has the following value:
public abstract java.lang.String value
ScriptingFunction Annotation Type
The ScriptingFunction annotation type annotates a method for use as a property in scripting.
@Retention(value=RUNTIME)
@Target(value={METHOD,CONSTRUCTOR})
public @interface ScriptingFunction
The ScriptingFunction annotation type has the following value:
public abstract java.lang.String value
ScriptingParameter Annotation Type
The ScriptingParameter annotation type annotates a parameter for use as a property in scripting.
@Retention(value=RUNTIME)
@Target(value=PARAMETER)
public @interface ScriptingParameter
Chapter 7 Developing Plug-Ins
VMware, Inc. 223