Class WF10ProviderConfigPresenter
- java.lang.Object
-
- org.guvnor.ala.ui.client.util.AbstractHasContentChangeHandlers
-
- org.guvnor.ala.ui.wildfly.client.provider.WF10ProviderConfigPresenter
-
- All Implemented Interfaces:
org.guvnor.ala.ui.client.handler.ProviderConfigurationForm,org.guvnor.ala.ui.client.util.HasContentChangeHandlers
@Dependent public class WF10ProviderConfigPresenter extends org.guvnor.ala.ui.client.util.AbstractHasContentChangeHandlers implements org.guvnor.ala.ui.client.handler.ProviderConfigurationForm
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWF10ProviderConfigPresenter.View
-
Constructor Summary
Constructors Constructor Description WF10ProviderConfigPresenter(WF10ProviderConfigPresenter.View view, org.jboss.errai.common.client.api.Caller<org.guvnor.ala.ui.wildfly.service.WildflyClientService> wildflyClientService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.guvnor.ala.ui.model.ProviderConfigurationbuildProviderConfiguration()voidclear()voiddisable()StringgetHost()StringgetManagementPort()StringgetPassword()StringgetPort()StringgetProviderName()StringgetUsername()WF10ProviderConfigPresenter.ViewgetView()StringgetWizardTitle()voidinit()voidisValid(org.uberfire.client.callbacks.Callback<Boolean> callback)voidload(org.guvnor.ala.ui.model.Provider provider)protected voidonHostChange()protected voidonManagementPortChange()protected voidonPasswordChange()protected voidonPortChange()protected voidonProviderNameChange()protected voidonTestConnection()protected voidonUserNameChange()-
Methods inherited from class org.guvnor.ala.ui.client.util.AbstractHasContentChangeHandlers
addContentChangeHandler, fireChangeHandlers, removeContentChangeHandler
-
-
-
-
Field Detail
-
HOST
protected static final String HOST
- See Also:
- Constant Field Values
-
PORT
protected static final String PORT
- See Also:
- Constant Field Values
-
MANAGEMENT_PORT
protected static final String MANAGEMENT_PORT
- See Also:
- Constant Field Values
-
USER
protected static final String USER
- See Also:
- Constant Field Values
-
PASSWORD
protected static final String PASSWORD
- See Also:
- Constant Field Values
-
PASSWORD_MASK
protected static final String PASSWORD_MASK
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WF10ProviderConfigPresenter
@Inject public WF10ProviderConfigPresenter(WF10ProviderConfigPresenter.View view, org.jboss.errai.common.client.api.Caller<org.guvnor.ala.ui.wildfly.service.WildflyClientService> wildflyClientService)
-
-
Method Detail
-
init
@PostConstruct public void init()
-
getView
public WF10ProviderConfigPresenter.View getView()
- Specified by:
getViewin interfaceorg.guvnor.ala.ui.client.handler.ProviderConfigurationForm
-
buildProviderConfiguration
public org.guvnor.ala.ui.model.ProviderConfiguration buildProviderConfiguration()
- Specified by:
buildProviderConfigurationin interfaceorg.guvnor.ala.ui.client.handler.ProviderConfigurationForm
-
clear
public void clear()
- Specified by:
clearin interfaceorg.guvnor.ala.ui.client.handler.ProviderConfigurationForm
-
load
public void load(org.guvnor.ala.ui.model.Provider provider)
- Specified by:
loadin interfaceorg.guvnor.ala.ui.client.handler.ProviderConfigurationForm
-
getProviderName
public String getProviderName()
-
getHost
public String getHost()
-
getPort
public String getPort()
-
getManagementPort
public String getManagementPort()
-
getUsername
public String getUsername()
-
getPassword
public String getPassword()
-
isValid
public void isValid(org.uberfire.client.callbacks.Callback<Boolean> callback)
- Specified by:
isValidin interfaceorg.guvnor.ala.ui.client.handler.ProviderConfigurationForm
-
getWizardTitle
public String getWizardTitle()
- Specified by:
getWizardTitlein interfaceorg.guvnor.ala.ui.client.handler.ProviderConfigurationForm
-
disable
public void disable()
- Specified by:
disablein interfaceorg.guvnor.ala.ui.client.handler.ProviderConfigurationForm
-
onProviderNameChange
protected void onProviderNameChange()
-
onHostChange
protected void onHostChange()
-
onPortChange
protected void onPortChange()
-
onManagementPortChange
protected void onManagementPortChange()
-
onUserNameChange
protected void onUserNameChange()
-
onPasswordChange
protected void onPasswordChange()
-
onTestConnection
protected void onTestConnection()
-
-