@ApplicationScoped public class TemplateParamsFormPresenter extends AbstractHasContentChangeHandlers implements PipelineParamsForm
Modifier and Type | Class and Description |
---|---|
static interface |
TemplateParamsFormPresenter.View |
Modifier and Type | Field and Description |
---|---|
static String |
APPLICATION_NAME |
static String |
APPLICATION_NAME_TEMPLATE_PARAM |
static String |
CONTAINER_DELIMITER |
static String |
HORNETQ_CLUSTER_PASSWORD |
static String |
HORNETQ_QUEUES |
static String |
HORNETQ_TOPICS |
static String |
IMAGE_STREAM_NAMESPACE_TEMPLATE_PARAM
The IMAGE_STREAM_NAMESPACE must be defaulted to the project name.
|
static String |
KIE_SERVER_CONTAINER_DEPLOYMENT |
static String |
PARAM_ASSIGNER |
static String |
PARAM_DELIMITER |
static String |
PROJECT_NAME |
static String |
RESOURCE_SECRETS_URI |
static String |
RESOURCE_STREAMS_URI |
static String |
RESOURCE_TEMPLATE_PARAM_VALUES |
static String |
RESOURCE_TEMPLATE_URI |
static String |
SERVICE_NAME |
static String |
SERVICE_NAME_SUFFIX |
changeHandlers
Constructor and Description |
---|
TemplateParamsFormPresenter(TemplateParamsFormPresenter.View view,
TemplateParamsTablePresenter paramsEditorPresenter,
org.jboss.errai.ui.client.local.spi.TranslationService translationService,
PopupHelper popupHelper,
org.jboss.errai.common.client.api.Caller<OpenShiftClientService> openShiftClientService,
OpenShiftClientValidationService openShiftClientValidationService) |
Modifier and Type | Method and Description |
---|---|
protected String |
buildContainerDeploymentParamValue(List<ContainerConfig> containerConfigs) |
protected String |
buildContainerParamValue(ContainerConfig containerConfig) |
Map<String,String> |
buildParams() |
void |
clear() |
TemplateParamsFormPresenter.View |
getView() |
String |
getWizardTitle() |
void |
init() |
void |
initialise() |
void |
isComplete(org.uberfire.client.callbacks.Callback<Boolean> callback) |
protected void |
onContainerConfigurationsChange(ContainerConfigParamsChangeEvent event) |
protected void |
onContentChange() |
protected void |
onImageStreamsURLChange() |
protected void |
onParamChange() |
protected void |
onRuntimeNameChange() |
protected void |
onSecretsFileURLChange() |
protected void |
onTemplateURLChange() |
void |
prepareView() |
addContentChangeHandler, fireChangeHandlers, removeContentChangeHandler
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addContentChangeHandler
public static final String PARAM_DELIMITER
public static final String PARAM_ASSIGNER
public static final String CONTAINER_DELIMITER
public static final String RESOURCE_TEMPLATE_PARAM_VALUES
public static final String RESOURCE_TEMPLATE_URI
public static final String RESOURCE_SECRETS_URI
public static final String RESOURCE_STREAMS_URI
public static final String APPLICATION_NAME
public static final String PROJECT_NAME
public static final String SERVICE_NAME
public static final String KIE_SERVER_CONTAINER_DEPLOYMENT
public static final String IMAGE_STREAM_NAMESPACE_TEMPLATE_PARAM
public static final String APPLICATION_NAME_TEMPLATE_PARAM
public static final String SERVICE_NAME_SUFFIX
public static final String HORNETQ_QUEUES
public static final String HORNETQ_TOPICS
public static final String HORNETQ_CLUSTER_PASSWORD
@Inject public TemplateParamsFormPresenter(TemplateParamsFormPresenter.View view, TemplateParamsTablePresenter paramsEditorPresenter, org.jboss.errai.ui.client.local.spi.TranslationService translationService, PopupHelper popupHelper, org.jboss.errai.common.client.api.Caller<OpenShiftClientService> openShiftClientService, OpenShiftClientValidationService openShiftClientValidationService)
@PostConstruct public void init()
public String getWizardTitle()
getWizardTitle
in interface PipelineParamsForm
public TemplateParamsFormPresenter.View getView()
getView
in interface PipelineParamsForm
public Map<String,String> buildParams()
buildParams
in interface PipelineParamsForm
public void initialise()
initialise
in interface PipelineParamsForm
public void prepareView()
prepareView
in interface PipelineParamsForm
public void isComplete(org.uberfire.client.callbacks.Callback<Boolean> callback)
isComplete
in interface PipelineParamsForm
public void clear()
clear
in interface PipelineParamsForm
protected void onRuntimeNameChange()
protected void onTemplateURLChange()
protected void onImageStreamsURLChange()
protected void onSecretsFileURLChange()
protected void onContainerConfigurationsChange(@Observes ContainerConfigParamsChangeEvent event)
protected void onParamChange()
protected void onContentChange()
protected String buildContainerDeploymentParamValue(List<ContainerConfig> containerConfigs)
protected String buildContainerParamValue(ContainerConfig containerConfig)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.