Builder

public interface Builder<BT extends Context.Builder<BT>>(source)

A builder for contexts.

Parameters

<BT>

the type of the builder

Inheritors

Types

Link copied to clipboard
public interface Factory<BT extends Context.Builder<BT>>
A factory for builders.

Functions

Link copied to clipboard
public abstract BT add(Array<Context> context)
public abstract BT add(Array<Property> property)
public abstract BT add(String key, Object value)
Link copied to clipboard
public abstract Context build()
Returns a Context with the given properties.
Link copied to clipboard
public BT property(String key, Object value)
Sets the value for the given key.
Link copied to clipboard
public abstract BT subject(Object subject)
Sets the subject of this context.