|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.able.platform.AblePlatformDefaultAgent | +--com.ibm.able.platform.AbleEServerDefaultAgent
This class defines the base behavior, which all ABLE eServer agents must support. This behavior includes:
Field Summary | |
protected java.util.HashMap |
capabilities
This HashMap holds the capabilities of this agent. |
protected java.util.Vector |
capabilityOrder
The order that the capabilities are displayed in might be important. |
protected java.util.HashMap |
customCapabilitySettings
This HashMap holds the autonomy levels of the custom capabilitie settings. |
protected java.util.HashMap |
highCapabilitySettings
This HashMap holds the HIGH pre-defined autonomy levels for the capabilities of this agent. |
protected java.util.HashMap |
lowCapabilitySettings
This HashMap holds the LOW pre-defined autonomy levels for the capabilities of this agent. |
protected java.util.HashMap |
mediumCapabilitySettings
This HashMap holds the MEDIUM pre-defined autonomy levels for the capabilities of this agent. |
protected AgentLoggingService |
myEServerLoggingService
The eServer Logging service for this agent, set by the init() method. |
Constructor Summary | |
AbleEServerDefaultAgent()
Creates an AbleEServerDefaultAgent wrapped around an AblePlatformDefaultAgent instance. |
|
AbleEServerDefaultAgent(java.lang.String theName)
Creates an AbleEServerDefaultAgent wrapped around an AblePlatformDefaultAgent instance with specified name. |
|
AbleEServerDefaultAgent(java.lang.String theName,
java.lang.String theComment)
Creates an AbleEServerDefaultAgent wrapped around an AblePlatformDefaultAgent instance with specified name and comment. |
Method Summary | |
protected void |
_answerRequest(AbleAgentSituationReport answeredAbleAgentSituationReport,
AbleSecureKey key)
This is the default implementation of _answerRequest and it does nothing. |
protected java.lang.Object |
_getAboutDataBean()
Override this method to return an AUIML DataBean to the ABLE console for the About panel. |
protected java.lang.Object |
_getCustomizerDataBean()
Override this method to return an AUIML DataBean to the ABLE console for the Customize panel. |
protected java.lang.String[] |
_getCustomizerInfo()
Returns info that the Admin GUI needs to display the Customizer and the About panels. |
protected void |
_init()
Initialize and configure the bean. |
protected void |
_init(java.lang.Object capabilities)
Initialize and configure the bean. |
protected void |
_quitAll()
This method is overridden so this agent can remove all of its logs from the logging service if someone chose to quit this agent. |
protected void |
_setCustomizerDataBean(java.lang.Object dataBean,
AbleSecureKey key)
Override this method to first handle authorization of this set request, and then to handle applying the data bean's properties to this agent. |
void |
answerRequest(AbleAgentSituationReport agentReport,
AbleSecureKey key)
This method is called to answer a request that this agent had previously logged to the Logging Service. |
protected void |
authenticateAndAuthorizeCaller(AbleAgentSituationReport answeredAbleAgentSituationReport,
AbleSecureKey key)
This is the default implementation of authenticateAndAuthorizeCaller and it does nothing. |
protected void |
authorizeCapabilityChangeRequest(AbleSecureKey key)
This is the default implementation of authorizeCapabilityChangeRequest and it
does nothing. |
protected AbleAgentSituationReport |
createAbleAgentSituationReport(java.io.Serializable theIdentifier,
AbleEServerCapability theCapability,
AbleEServerSituation theSituation,
com.ibm.able.AbleMessageContainer theSuggestedResponse,
com.ibm.able.AbleMessageContainer theResponseTaken,
com.ibm.able.AbleMessageContainer theResultsSummary,
boolean theState)
Helper method used to create an AbleAgentSituationReport for this agent. |
byte[] |
getAboutDataBean()
This is an internal version of _getAboutDataBean(). |
int |
getAutonomyLevel()
Return the autonomy level of this agent. |
java.util.HashMap |
getCapabilities()
Get the HashMap of this agent's capabilites. |
AbleEServerCapability |
getCapability(java.lang.Object capabilityIdentifier)
Get a specific capability of this agent. |
java.util.Vector |
getCapabilityOrder()
The order that an agent's AbleEServerCapabilities may be important. |
java.util.HashMap[] |
getCapabilityPresets()
Return an array of four HashMaps. |
java.util.HashMap |
getCapabilitySettings()
Get the HashMap of this agent's capability settings ((Object)CapabiltiyIdentifier)->((Integer)autonomyLevel) |
com.ibm.able.AbleMessageContainer |
getCapabilitySettingsSummary(int autonomyLevel)
Return an AbleMessageContainer that describes the overall agent autonomy summary if the agent's autonomy level was set to autonomyLevel . |
com.ibm.able.AbleMessageContainer |
getCapabilitySettingsSummary(java.util.Map capabilitySettings)
Return a string that describes the overall agent autonomy summary if the agent's capability settings were set to capabilitySettings . |
byte[] |
getCustomizerDataBean()
This is an internal version of _getCustomizerDataBean(). |
java.lang.String[] |
getCustomizerInfo()
This is an internal version of the _getCustomizerInfo() method. |
byte[] |
getCustomizerResource(java.lang.String resourceName)
Method getCustomizerResource. |
protected void |
lclInit(java.lang.Object theCapabilities)
This method will perform some of the initial setup of this agent when it is first initialized(started). |
protected void |
logAbleAgentSituationReport(AbleAgentSituationReport theAbleAgentSituationReport)
This method will handle the details of logging an AbleAgentSituationReport to the Logging Service for this agent. |
protected void |
logHistory(com.ibm.able.AbleMessageContainer description,
com.ibm.able.AbleMessageContainer action,
com.ibm.able.AbleMessageContainer summary)
Helper method used to log a History log. |
protected com.ibm.able.AbleMessageContainer |
makeCapabilitySettingsSummary(java.util.Map capabilitySettings)
Return an AbleMessage Container that describes the overall agent autonomy summary if the agent's capability settings were set to capabilitySettings . |
protected void |
removeAbleAgentSituationReports(java.util.Vector AbleAgentSituationReportsToRemove)
This method will handle the details of removing one of this agent's AbleAgentSituationReports. |
protected void |
setAgentAutonomyLevel(int theAgentAutonomyLevel)
This method is overridden to handle the updating of the capabilities when the agent's autonomy level is changed. |
void |
setAgentAutonomyLevel(int agentAutonomyLevel,
AbleSecureKey key)
Sets the agent's autonomy level. |
void |
setCapabilitySetting(java.lang.Object capabilityIdentifier,
int autonomyLevel,
AbleSecureKey key)
Sets the autonomy level of the one of this agent's capabilities. |
void |
setCapabilitySettings(java.util.Map theCapabilities,
AbleSecureKey key)
Update the autonomy levels of this agent's capabilities according to the autonomy level settings in the passed in Map((Object)CapabiltiyIdentifier)->((Integer)autonomyLevel) |
void |
setCustomizerDataBean(java.lang.Object dataBean,
AbleSecureKey key)
This is an internal version of _setCustomizerData(). |
protected void |
updateAbleAgentSituationReport(AbleAgentSituationReport oldAbleAgentSituationReport,
AbleAgentSituationReport newAbleAgentSituationReprot)
This method will handle the details of updating one of this agent's AbleAgentSituationReports. |
protected void |
validateRequest(AbleAgentSituationReport answeredAbleAgentSituationReport)
This is the default implementation of validateRequest and it does nothing. |
protected void |
verifyCapabilities()
All subclasses must define their own capabilities and their settings. |
Methods inherited from interface com.ibm.able.platform.AblePlatformAgent |
getAgentAutonomyLevel, getAgentLastUpdate, getAgentStatus, getAgentSummary, getAgentType, getAgentVendor, getAgentVersion, getJasAgentAttributes, getJasAgentName, getPlatformAgentName, initializeAgent, initializeAgent, isAgentMovable, isAgentToAutoRegister, isAgentToBindToRmi, preInit, preInit, quitAgent, resetAgent, resumeAgent, suspendAgent |
Methods inherited from interface javax.agent.service.transport.MessageListener |
equals, hashCode |
Field Detail |
protected AgentLoggingService myEServerLoggingService
protected java.util.HashMap capabilities
This is where all of the capabilities of an agent are defined. It is the agent's
responsibility to set its capabilities along with the three capability setting
HashMaps: highCapabilitySettings, mediumCapabilitySettings and lowCapabilitySettings,
and the capabilityOrder when the agent is instantiated. The agent should then call its
verifyCapabilities()
method to guarantee that its capabilities and settings
are valid, and the order vector contains appropriate identifierss. If these were not
set correctly, the agent when fail on init.
The only other way to set the capabilities is by passing an AbleEServerCapability[] as the init arguments. Using the init arguments would overwrite any capability and settings that might have already been set.
protected java.util.Vector capabilityOrder
protected java.util.HashMap highCapabilitySettings
capabilities
protected java.util.HashMap mediumCapabilitySettings
capabilities
protected java.util.HashMap lowCapabilitySettings
capabilities
protected java.util.HashMap customCapabilitySettings
Constructor Detail |
public AbleEServerDefaultAgent() throws com.ibm.able.AbleException, java.rmi.RemoteException
AbleException
- java.rmi.RemoteException
- public AbleEServerDefaultAgent(java.lang.String theName) throws com.ibm.able.AbleException, java.rmi.RemoteException
theName
- The name of this agent.
RemoteException,
- AbleExceptionpublic AbleEServerDefaultAgent(java.lang.String theName, java.lang.String theComment) throws com.ibm.able.AbleException, java.rmi.RemoteException
theName
- The name of this agent.
theComment
- The comment for this agent.
RemoteException,
- AbleExceptionMethod Detail |
public void setCapabilitySettings(java.util.Map theCapabilities, AbleSecureKey key) throws com.ibm.able.AbleException
AbleEServerAgent
setCapabilitySettings
in interface AbleEServerAgent
com.ibm.able.platform.AbleEServerAgent
theCapabilities
- Map of autonomy level settings.
key
- AbleSecureKey used to secure communications.
AbleException
- If the caller is not verified by the Naming Service.
If authorization failed.
If unable to update the capabilities of this agent.
java.rmi.RemoteException
- On all remote errors.public void setCapabilitySetting(java.lang.Object capabilityIdentifier, int autonomyLevel, AbleSecureKey key) throws com.ibm.able.AbleException
AbleEServerAgent
setCapabilitySetting
in interface AbleEServerAgent
com.ibm.able.platform.AbleEServerAgent
capabilityIdentifier
- The identifier of the capability whose autonomy level will be set.
autonomyLevel
- The autonomy level this capability will be set to.
key
- AbleSecureKey used to secure communications.
AbleException
- If the caller is not verified by the VerifiableAgentNamingService.
If authorization failed.
If unable to update the capabilities of this agent.
java.rmi.RemoteException
- On all remote errors.public java.util.HashMap getCapabilities() throws com.ibm.able.AbleException
AbleEServerAgent
getCapabilities
in interface AbleEServerAgent
com.ibm.able.platform.AbleEServerAgent
java.rmi.RemoteException
- On all remote errors.public java.util.HashMap getCapabilitySettings() throws com.ibm.able.AbleException
AbleEServerAgent
getCapabilitySettings
in interface AbleEServerAgent
com.ibm.able.platform.AbleEServerAgent
java.rmi.RemoteException
- On all remote errors.public AbleEServerCapability getCapability(java.lang.Object capabilityIdentifier) throws com.ibm.able.AbleException
AbleEServerAgent
getCapability
in interface AbleEServerAgent
com.ibm.able.platform.AbleEServerAgent
capabilityIdentifier
- The identifier of the capability to return.
java.rmi.RemoteException
- On all remote errors.public java.util.HashMap[] getCapabilityPresets() throws com.ibm.able.AbleException
AbleEServerAgent
getCapabilityPresets
in interface AbleEServerAgent
com.ibm.able.platform.AbleEServerAgent
java.rmi.RemoteException
- On all remote errors.public com.ibm.able.AbleMessageContainer getCapabilitySettingsSummary(int autonomyLevel) throws com.ibm.able.AbleException
AbleEServerAgent
autonomyLevel
.
getCapabilitySettingsSummary
in interface AbleEServerAgent
com.ibm.able.platform.AbleEServerAgent
autonomyLevel
- The autonomy level that you want the summary to represent.
AbleException
- If unable to create the settings summary.
java.rmi.RemoteException
- On all remote exceptions.public com.ibm.able.AbleMessageContainer getCapabilitySettingsSummary(java.util.Map capabilitySettings) throws com.ibm.able.AbleException
AbleEServerAgent
capabilitySettings
. If null
,
then the summary will be created against the current settings of this agent.
getCapabilitySettingsSummary
in interface AbleEServerAgent
com.ibm.able.platform.AbleEServerAgent
capabilitySettings
- The capability settings that you want the summary to represent.
(((Object)CapabiltiyIdentifier)->((Integer)autLevel))
AbleException
- If unable to create the settings summary.
java.rmi.RemoteException
- On all remote exceptions.public java.util.Vector getCapabilityOrder() throws com.ibm.able.AbleException
AbleEServerAgent
getCapabilityOrder
in interface AbleEServerAgent
com.ibm.able.platform.AbleEServerAgent
java.rmi.RemoteException
- On all remote exceptions.public void setAgentAutonomyLevel(int agentAutonomyLevel, AbleSecureKey key) throws com.ibm.able.AbleException, javax.agent.service.naming.NamingException
AblePlatformAgent
setAgentAutonomyLevel
in interface AblePlatformAgent
setAgentAutonomyLevel
in class AblePlatformDefaultAgent
com.ibm.able.platform.AblePlatformAgent
theAgentAutonomyLevel
- An autonomy level as defined in AblePlatform
.
theSecureKey
- When security if off, this may be null as the
parameter is ignored; when security is on the security
key must be from an object with equal or greater
authority in order for the operation to proceed.
java.rmi.RemoteException
- On any RMI error.com.ibm.able.AbleException
- If the specified autonomy level isn't a level defined in
AblePlatform
or if the caller is not authorized.javax.agent.service.naming.NamingException
- If the caller is not authenticated.public int getAutonomyLevel() throws com.ibm.able.AbleException
AbleEServerAgent
getAutonomyLevel
in interface AbleEServerAgent
com.ibm.able.platform.AbleEServerAgent
java.rmi.RemoteException
- On any remote error.public final void answerRequest(AbleAgentSituationReport agentReport, AbleSecureKey key) throws com.ibm.able.AbleException
AbleEServerAgent
The process of handling an answered request will be done in 4 steps.
validateRequest
will be called to determine if the request is still
valid.
key
will be checked to make sure
that the caller is trusted by the platform, and using a valid AbleSecureKey.
authorizeAnswer
will
be called to determine if the answer is authorized..
answerRequest
in interface AbleEServerAgent
com.ibm.able.platform.AbleEServerAgent
agentReport
- The original AbleAgentSituationReport containing an answer to the request.
key
- The AbleSecureKey used to secure communication.
AbleException
- If the caller is not verified by the Naming Service.
If the request is no longer valid.
If authorization failed.
If unable to update the capabilities of this agent.
java.rmi.RemoteException
- On all remote errors.public byte[] getCustomizerResource(java.lang.String resourceName) throws com.ibm.able.AbleException
AbleEServerAgent
Examples:
The default implementation looks for the files in the agent's local classpath. If not found, it returns null.
getCustomizerResource
in interface AbleEServerAgent
com.ibm.able.platform.AbleEServerAgent
resourceName
- AbleException
- If unable to read in the resource.
java.rmi.RemoteException
- On all remote errors.public final void setCustomizerDataBean(java.lang.Object dataBean, AbleSecureKey key) throws com.ibm.able.AbleException
AbleEServerAgent
setCustomizerDataBean
in interface AbleEServerAgent
com.ibm.able.platform.AbleEServerAgent
dataBean
- key
- AbleSecureKey used to secure communication
AbleException
- If the caller is not verified by the Naming Service.
On all errors setting the customizer dataBean.
java.rmi.RemoteException
- On all remote errors.public final byte[] getCustomizerDataBean() throws com.ibm.able.AbleException
AbleEServerAgent
getCustomizerDataBean
in interface AbleEServerAgent
com.ibm.able.platform.AbleEServerAgent
AbleException
- On all errors getting the customizer dataBean.
On errors creating the byte[].
java.rmi.RemoteException
- On all remote errors.public final byte[] getAboutDataBean() throws com.ibm.able.AbleException
AbleEServerAgent
getAboutDataBean
in interface AbleEServerAgent
com.ibm.able.platform.AbleEServerAgent
AbleException
- On all errors getting the About dataBean.
On errors creating the byte[].
java.rmi.RemoteException
- On all remote errors.public final java.lang.String[] getCustomizerInfo() throws com.ibm.able.AbleException
AbleEServerAgent
getCustomizerInfo
in interface AbleEServerAgent
com.ibm.able.platform.AbleEServerAgent
AbleException
- On all errors getting the customizer info.
java.rmi.RemoteException
- On all remote errors.protected void _init() throws com.ibm.able.AbleException
_init
in class AblePlatformDefaultAgent
com.ibm.able.platform.AblePlatformDefaultAgent
AbleException
- In any error situation.protected void _init(java.lang.Object capabilities) throws com.ibm.able.AbleException
capabilities
is expected to be the capabilities that this agent will be setup with
when calling lclInit. If capabilities
is not null
it is expected to be an array of AbleEServerCapability
Objects.
- Overrides:
_init
in class AblePlatformDefaultAgent
- Parameters:
capabilities
- If this is not null
it is expected that this
will contain an array of four Maps
used to define the
capabilities of this agent. The first would be the actual capabilities
of the agent, and the next three would be set to highCapabilitySettings
,
mediumCapabilitySettings
and lowCapabilitySettings
respectivley.
- Throws:
AbleException
- If the super init failed.
If the call to lclInit
failed.
protected void _quitAll()
All exceptions are just logged and eaten since this is quit and it does not need to throw any exceptions.
_quitAll
in class AblePlatformDefaultAgent
protected void setAgentAutonomyLevel(int theAgentAutonomyLevel) throws com.ibm.able.AbleException
setAgentAutonomyLevel
in class AblePlatformDefaultAgent
AbleException
- On errors getting the autonomyLevel of this agent.
On errors updating the capabilities of this agent.
On errors updating the AgentDescription of this agent.
If the super setAgentAutonomyLevel(int) failed.
protected void verifyCapabilities() throws com.ibm.able.AbleException
This method is used to verify that this agent's capabilities settings are valid. The capabilities could be set in one of two ways.
To be verified, the overall capabilities and three individual preset HashMaps must not be
null
, and each preset must contain the same keys as the capabilities.
This method is called when init is called, but a subclass should call this method right after it has defined the capabilities and settings to make sure that they are valid.
AbleException
- If any of the four capability HashMaps are null
.
If any of the presets do not have the same keys as the capabilities HashMap.
If the capability order Vector contains invalid or duplicate capabilities.
protected void authenticateAndAuthorizeCaller(AbleAgentSituationReport answeredAbleAgentSituationReport, AbleSecureKey key) throws com.ibm.able.AbleException
authenticateAndAuthorizeCaller
and it does nothing.
This method should be overridden by all subclasses that cares about who is allowed to answer the
requests of this agent. It is what handles authorizing an answer to one of the agent's logged
requests. Based on the AbleAgentSituationReport that is answering the request, and the
VerifiableAgentName that sent this answer, it must decide if it will proceed with this answer.
answeredAbleAgentSituationReport
- The answered AbleAgentSituationReport that this agent
had previously logged.
key
- The AbleSecureKey from the entity answering the request.
AbleException
- If caller failed to authenticate or authorize.protected void validateRequest(AbleAgentSituationReport answeredAbleAgentSituationReport) throws com.ibm.able.AbleException
validateRequest
and it does nothing.
This method should be overridden by all subclasses that have requests that may turn invalid after
they were logged.
If an agent logged a request a while back, by the time it was answered it may no longer be a valid request. The agent should have removed it from the Logging Service, but if it didn't, this is the last chance to end this process, and notifiy the caller. After this, if authorization succeeds, a new thread will be started to handle the answering of the request. Then the only way to notify the caller about anything is to log a history log.
answeredAbleAgentSituationReport
- The answered AbleAgentSituationReport that this agent
had previously logged.
AbleException
- If the request is no longer valid.protected void _answerRequest(AbleAgentSituationReport answeredAbleAgentSituationReport, AbleSecureKey key)
_answerRequest
and it does nothing.
This method should be overridden by all subclasses. After the processing of an answered
AbleAgentSituationReport has passed(Authentication, Validation, Authorization), the
Asynchronous Delegation step will call this method to do the actual processing of the
answered AbleAgentSituationReport.
This method will not throw any exceptions since this is on a different thread than the original answerRequest call. The only way to notify the caller of failures now is by logging to the Logging Service.
answeredAbleAgentSituationReport
- The answered AbleAgentSituationReport that this agent
had previously logged.
key
- The AbleSecureKey that was used to answer this request.protected void authorizeCapabilityChangeRequest(AbleSecureKey key) throws com.ibm.able.AbleException
authorizeCapabilityChangeRequest
and it
does nothing. This method should be overridden by all subclasses who will not allow
everyone to change the capability settings of this agent. Based on the VerifiableAgentName
that sent the change request, it must decide if it will make this change. This assumes the
key has already been verified.
key
- The AbleSecureKey from the entity attempting to make the change.
AbleException
- If this capability change request is not authorized.
protected void _setCustomizerDataBean(java.lang.Object dataBean, AbleSecureKey key) throws com.ibm.able.AbleException
dataBean
- AbleException
- On all errors setting the customizer dataBean.protected java.lang.Object _getCustomizerDataBean() throws com.ibm.able.AbleException
AbleException
- On any error getting the databean.protected java.lang.Object _getAboutDataBean() throws com.ibm.able.AbleException
AbleException
- On any error getting the databean.protected java.lang.String[] _getCustomizerInfo()
protected void lclInit(java.lang.Object theCapabilities) throws com.ibm.able.AbleException
Subclasses should override this method to do their initial setup.
theCapabilities
- If this is not null
it is expected that this
will contain an array of four Maps
used to define the
capabilities of this agent. The first would be actual capabilities of this
agent, and the next three HashMaps would be highCapabilitySettings
,
mediumCapabilitySettings
and lowCapabilitySettings
respectivley.
AbleException
- If a reference to the Logging Service could not be made.
If the capabilities were not properly setup.
protected void logAbleAgentSituationReport(AbleAgentSituationReport theAbleAgentSituationReport) throws com.ibm.able.AbleException
theAbleAgentSituationReport
- The AbleAgentSituationReport that is to be logged
AbleException
- If a reference to the Logging Service does not exist. This is common if the agent has not been initialized yet.
On any errors adding the logs.
protected void updateAbleAgentSituationReport(AbleAgentSituationReport oldAbleAgentSituationReport, AbleAgentSituationReport newAbleAgentSituationReprot) throws com.ibm.able.AbleException
oldAbleAgentSituationReport
- The AbleAgentSituationReport that is to be updated
newAbleAgentSituationReprot
- The updated AbleAgentSituationReport.
AbleException
- If a reference to the Logging Service does not exist. This is common if the agent has not been initialized yet.
On any errors removing the logs.
protected void removeAbleAgentSituationReports(java.util.Vector AbleAgentSituationReportsToRemove) throws com.ibm.able.AbleException
AbleAgentSituationReportsToRemove
- The AbleAgentSituationReports that are to be removed.
AbleException
- If a reference to the Logging Service does not exist. This is common if the agent has not been initialized yet.
On any errors removing the logs.
protected void logHistory(com.ibm.able.AbleMessageContainer description, com.ibm.able.AbleMessageContainer action, com.ibm.able.AbleMessageContainer summary) throws com.ibm.able.AbleException
description
- A description of this event being logged
action
- The action of this event being logged
summary
- The summary of this event being logged.
AbleException
- On errors logging to the Logging Service.
On errors getting the name of this agent.
protected AbleAgentSituationReport createAbleAgentSituationReport(java.io.Serializable theIdentifier, AbleEServerCapability theCapability, AbleEServerSituation theSituation, com.ibm.able.AbleMessageContainer theSuggestedResponse, com.ibm.able.AbleMessageContainer theResponseTaken, com.ibm.able.AbleMessageContainer theResultsSummary, boolean theState) throws com.ibm.able.AbleException
This will fill the AbleAgentSituationReport with this agent's:
AbleException
- On errors calling getAgentName() to create the agent description.
On errors calling getAgentHost().
protected com.ibm.able.AbleMessageContainer makeCapabilitySettingsSummary(java.util.Map capabilitySettings) throws com.ibm.able.AbleException
capabilitySettings
.
The default implementation of this method will return a basic string in this format: "Automate {0} capabilities, Ask first for {1} capabilities, never run {2} capabilities." This method can be overridden to create a summary String more specific to the agent subclass.
capabilitySettings
- The capability settings that you want the summary to represent.
(((Object)CapabilityIdentifier)->((Integer)autLevel))
AbleException
- If an invalid capability was set in capabilitySettings
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |