public interface ResourceUIBinding
| Modifier and Type | Method and Description |
|---|---|
EditField[] |
getEditPage(ResourceInstanceData config)
Called when a resource is being created or edited to get provider-specific contents of the edit pane for resource configuration.
|
ResourceInstanceData |
getProviderSpecificConfiguration(EditField[] fields)
Creates the Resource Provider Specific configuration from the UI form.
|
ViewField[] |
getViewPage(ResourceInstanceData config)
Called when the resource details are being viewed in read-only mode to get the contents of the summary pane for resource configuration
|
EditField[] |
updateEditPage(EditField[] fields, java.lang.String name)
Called when a resource is being created or edited to get contents of the edit pane for the resource configuration.
|
UIError[] |
validateProviderSpecificForm(EditField[] fields)
Validate the provider specific parameters on the UI form.
|
EditField[] getEditPage(ResourceInstanceData config) throws CustomResourceException
config - The resource configurationCustomResourceException - in case of errorsEditField[] updateEditPage(EditField[] fields, java.lang.String name) throws CustomResourceException
fields - current set of edit fields for this pagename - name of the field being updatedCustomResourceException - in case of errorsViewField[] getViewPage(ResourceInstanceData config) throws CustomResourceException
config - the resource configurationCustomResourceException - in case of errorsUIError[] validateProviderSpecificForm(EditField[] fields)
fields - array of current edit fields with their respective valuesResourceInstanceData getProviderSpecificConfiguration(EditField[] fields) throws CustomResourceException
fields - array of edit fields along with their respective valuesCustomResourceException - in case of error