public final class ExecutionContext.DeclarationBuilder extends Object
Modifier and Type | Method and Description |
---|---|
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.
|
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()
Copyright © 2004–2019 XWiki. All rights reserved.