|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xwiki.context.ExecutionContext.DeclarationBuilder
public final class ExecutionContext.DeclarationBuilder
Builder class for declaring a new proprety.
| Method Summary | |
|---|---|
ExecutionContext.DeclarationBuilder |
cloneValue()
Indicate that the value should be cloned when the property is cloned. |
void |
declare()
Finish the building by declaring the property in this execution context. |
ExecutionContext.DeclarationBuilder |
inherited()
Indicate that the property should be inherited. |
ExecutionContext.DeclarationBuilder |
initial(Object value)
|
ExecutionContext.DeclarationBuilder |
makeFinal()
Make the initial value the final value. |
ExecutionContext.DeclarationBuilder |
nonNull()
Indicate that the property value may not be null. |
ExecutionContext.DeclarationBuilder |
type(Class<?> type)
Set the type of the value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void declare()
public ExecutionContext.DeclarationBuilder initial(Object value)
value - The initial value.
public ExecutionContext.DeclarationBuilder makeFinal()
public ExecutionContext.DeclarationBuilder cloneValue()
public ExecutionContext.DeclarationBuilder type(Class<?> type)
type - The type to declare for the property.
public ExecutionContext.DeclarationBuilder inherited()
public ExecutionContext.DeclarationBuilder nonNull()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||