|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kohsuke.stapler.export.Model<T>
public class Model<T>
Writes all the property of one ExportedBean
to DataWriter
.
Field Summary | |
---|---|
Model<? super T> |
superModel
Model for the super class. |
java.lang.Class<T> |
type
The class being modeled. |
Method Summary | |
---|---|
java.util.List<Property> |
getProperties()
Gets all the exported properties. |
void |
writeTo(T object,
DataWriter writer)
Writes the property values of the given object to the writer. |
void |
writeTo(T object,
int baseVisibility,
DataWriter writer)
Deprecated. as of 1.139 |
void |
writeTo(T object,
TreePruner pruner,
DataWriter writer)
Writes the property values of the given object to the writer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final java.lang.Class<T> type
public final Model<? super T> superModel
Model
for the super class.
Method Detail |
---|
public java.util.List<Property> getProperties()
public void writeTo(T object, DataWriter writer) throws java.io.IOException
java.io.IOException
public void writeTo(T object, TreePruner pruner, DataWriter writer) throws java.io.IOException
pruner
- Controls which portion of the object graph will be sent to the writer.
java.io.IOException
public void writeTo(T object, int baseVisibility, DataWriter writer) throws java.io.IOException
baseVisibility
- This parameters controls how much data we'd be writing,
by adding bias to the sub tree cutting.
A property with visibility
X will be written
if the current depth Y and baseVisibility Z satisfies X+Z>Y.
0 is the normal value. Positive value means writing bigger tree,
and negative value means writing smaller trees.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |