public class HttpSecuritySourceInstance extends AbstractCompilerIssues implements HttpSecuritySourceExtensionContext
HttpSecuritySource
instance.Modifier and Type | Method and Description |
---|---|
void |
createControls(org.eclipse.swt.widgets.Composite page)
Creates the
Control instances to populate the Property
instances. |
long |
getAuthenticationTimeout()
Obtains the authentication timeout.
|
String |
getHttpSecuritySourceClassName()
Obtains the fully qualified class name of the
HttpSecuritySource . |
String |
getHttpSecuritySourceLabel()
Obtains the label for the
HttpSecuritySource . |
HttpSecurityType<?,?,?,?> |
getHttpSecurityType()
Obtains the loaded
HttpSecurityType . |
org.eclipse.core.resources.IProject |
getProject()
Obtains the
IProject that is adding the
HttpSecuritySource . |
PropertyList |
getPropertyList()
Obtains the
PropertyList to configure the
HttpSecuritySource . |
protected void |
handleDefaultIssue(DefaultCompilerIssue issue)
Implement to handle
DefaultCompilerIssue . |
void |
loadAccessInstance(AccessInstance accessInstance)
Loads the particular
AccessInstance for this
HttpSecuritySourceInstance to configure properties from. |
void |
loadHttpSecurityType()
Attempts to load the
HttpSecurityType . |
boolean |
loadHttpSecurityType(CompilerIssues issues)
Attempts to load the
HttpSecurityType . |
void |
notifyPropertiesChanged()
Notifies of a change to the
PropertyList . |
void |
setAuthenticationTimeout(long authenticationTimeout)
Specifies the authentication timeout.
|
void |
setErrorMessage(String message)
Specifies an error message.
|
void |
setTitle(String title)
Specifies the title.
|
addIssue, addIssue, captureIssues, createCompilerIssue, handleIssue
public void setAuthenticationTimeout(long authenticationTimeout)
authenticationTimeout
- Authentication timeout.public void loadAccessInstance(AccessInstance accessInstance)
AccessInstance
for this
HttpSecuritySourceInstance
to configure properties from.accessInstance
- AccessInstance
.public void loadHttpSecurityType()
HttpSecurityType
.public boolean loadHttpSecurityType(CompilerIssues issues)
HttpSecurityType
.issues
- CompilerIssues
to be notified of issues in loading.true
if loaded.public String getHttpSecuritySourceLabel()
HttpSecuritySource
.HttpSecuritySource
.public String getHttpSecuritySourceClassName()
HttpSecuritySource
.HttpSecuritySource
class name.public long getAuthenticationTimeout()
public PropertyList getPropertyList()
PropertyList
to configure the
HttpSecuritySource
.getPropertyList
in interface HttpSecuritySourceExtensionContext
PropertyList
.public HttpSecurityType<?,?,?,?> getHttpSecurityType()
HttpSecurityType
.HttpSecurityType
or null
if issue
loading.public void createControls(org.eclipse.swt.widgets.Composite page)
Control
instances to populate the Property
instances.page
- Composite
to add Control
instances.public void setTitle(String title)
HttpSecuritySourceExtensionContext
setTitle
in interface HttpSecuritySourceExtensionContext
title
- Title.public void setErrorMessage(String message)
HttpSecuritySourceExtensionContext
setErrorMessage
in interface HttpSecuritySourceExtensionContext
message
- Error message. null
indicating no error.public void notifyPropertiesChanged()
HttpSecuritySourceExtensionContext
Notifies of a change to the PropertyList
.
This allows for to report issues in attempting to source the
HttpSecurityType
from the HttpSecuritySource
with the
PropertyList
.
notifyPropertiesChanged
in interface HttpSecuritySourceExtensionContext
public org.eclipse.core.resources.IProject getProject()
HttpSecuritySourceExtensionContext
IProject
that is adding the
HttpSecuritySource
.getProject
in interface HttpSecuritySourceExtensionContext
IProject
that is adding the HttpSecuritySource
.protected void handleDefaultIssue(DefaultCompilerIssue issue)
AbstractCompilerIssues
DefaultCompilerIssue
.handleDefaultIssue
in class AbstractCompilerIssues
issue
- DefaultCompilerIssue
.Copyright © 2005–2016. All rights reserved.