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 TypeMethodDescriptionint
abstract Type
abstract String
Gets the associated javadoc, if any, or null.abstract Class
getType()
abstract Object
Gets the value of this property from the bean.void
writeTo
(Object object, int depth, DataWriter writer) Deprecated.as of 1.139void
writeTo
(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:
compareTo
in 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.
-