Class OpenShiftProviderConfigPresenter
- java.lang.Object
-
- org.guvnor.ala.ui.client.util.AbstractHasContentChangeHandlers
-
- org.guvnor.ala.ui.openshift.client.provider.OpenShiftProviderConfigPresenter
-
- All Implemented Interfaces:
org.guvnor.ala.ui.client.handler.ProviderConfigurationForm,org.guvnor.ala.ui.client.util.HasContentChangeHandlers
@Dependent public class OpenShiftProviderConfigPresenter 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 interfaceOpenShiftProviderConfigPresenter.View
-
Constructor Summary
Constructors Constructor Description OpenShiftProviderConfigPresenter(OpenShiftProviderConfigPresenter.View view)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.guvnor.ala.ui.model.ProviderConfigurationbuildProviderConfiguration()voidclear()voiddisable()StringgetMainURL()StringgetPassword()StringgetProviderName()StringgetUsername()OpenShiftProviderConfigPresenter.ViewgetView()StringgetWizardTitle()voidinit()voidisValid(org.uberfire.client.callbacks.Callback<Boolean> callback)voidload(org.guvnor.ala.ui.model.Provider provider)protected voidonMainURLChange()protected voidonPasswordChange()protected voidonProviderNameChange()protected voidonUserNameChange()-
Methods inherited from class org.guvnor.ala.ui.client.util.AbstractHasContentChangeHandlers
addContentChangeHandler, fireChangeHandlers, removeContentChangeHandler
-
-
-
-
Field Detail
-
MAIN_URL
protected static final String MAIN_URL
- 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
-
-
Constructor Detail
-
OpenShiftProviderConfigPresenter
@Inject public OpenShiftProviderConfigPresenter(OpenShiftProviderConfigPresenter.View view)
-
-
Method Detail
-
init
@PostConstruct public void init()
-
getView
public OpenShiftProviderConfigPresenter.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()
-
getMainURL
public String getMainURL()
-
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()
-
onMainURLChange
protected void onMainURLChange()
-
onUserNameChange
protected void onUserNameChange()
-
onPasswordChange
protected void onPasswordChange()
-
-