saker.build Documentation TaskDoc JavaDoc Packages
Builder class for custom construction of constructor properties.
CThe declaring class of the constructor.
Constructors
public
Builder(Constructor<C> constructor)
Creates a properties builder for the given constructor.
Methods
public ConstructorTransferProperties<C>
Creates the transfer properties specified by this builder.
public Builder<C>
Sets the write handler for the parameter at the specified index.
public Builder<C>
Sets all of write handlers for every parameter.
public Builder(Constructor<C> constructor)
Creates a properties builder for the given constructor.

The annotations on the constructor are not taken into account.

constructorThe constructor to create the builder for.
Creates the transfer properties specified by this builder.
The constructed transfer properties.
public Builder<C> parameterWriter(int index, RMIObjectWriteHandler writer)
Sets the write handler for the parameter at the specified index.
indexThe index of the parameter.
writerThe write handler. * @return this
this
Sets all of write handlers for every parameter.

The parameter array can contain null, in which case the default write handler will be used.

writersThe write handlers for the parameters.
this