Package org.kohsuke.stapler.export
Class Property
java.lang.Object
org.kohsuke.stapler.export.Property
- All Implemented Interfaces:
Comparable<Property>
- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintabstract Typeabstract StringGets the associated javadoc, if any, or null.abstract ClassgetType()abstract ObjectGets the value of this property from the bean.voidwriteTo(Object object, int depth, DataWriter writer) Deprecated.as of 1.139voidwriteTo(Object object, TreePruner pruner, DataWriter writer) Writes one property of the given object toDataWriter.
-
Field Details
-
name
Name of the property. -
visibility
public final int visibilityVisibility depth level of this property.- See Also:
-
parent
Model to which this property belongs to. Never null. -
inline
public final boolean inline- See Also:
-
merge
public final boolean merge- See Also:
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<Property>
-
getGenericType
-
getType
-
getJavadoc
Gets the associated javadoc, if any, or null. -
writeTo
Writes one property of the given object toDataWriter.- Parameters:
pruner- Determines how to prune the object graph tree.- Throws:
IOException
-
writeTo
Deprecated.as of 1.139- Throws:
IOException
-
getValue
public abstract Object getValue(Object bean) throws IllegalAccessException, InvocationTargetException Gets the value of this property from the bean.
-