public class ExtenderController extends Object
WebModuleExtender
to communicate with its environment.Modifier and Type | Class and Description |
---|---|
static class |
ExtenderController.Properties
Encapsulates the properties of an
ExtenderController , which are
arbitrary Object values with a String name. |
Modifier and Type | Method and Description |
---|---|
static ExtenderController |
create()
Creates a new controller.
|
String |
getErrorMessage()
Gets the error message for this controller.
|
ExtenderController.Properties |
getProperties()
Returns the properties of this controller.
|
void |
setErrorMessage(String errorMessage)
Sets an error message for this controller, which creator of the controller
may use to e.g.
|
public static ExtenderController create()
public String getErrorMessage()
public void setErrorMessage(String errorMessage)
errorMessage
- the error message; can be null if there is no error message.public ExtenderController.Properties getProperties()
WebModuleExtender.update()
to let the extender know that the properties have changed.ExtenderController.Properties
; never null.