com.beasys.commerce.axiom.p13n.agents
Class ClassificationAgentImpl
java.lang.Object
|
+--com.beasys.commerce.axiom.p13n.agents.ClassificationAgentImpl
- All Implemented Interfaces:
- Agent, java.io.Serializable
Deprecated. As of WLPS 3.1, replaced by ClassificationAdvisletImpl
- public final class ClassificationAgentImpl
- extends java.lang.Object
- implements Agent, java.io.Serializable
This class is the implementation class for a Classification Agent
that handles getting advise for a Classification Request.
A Classification Request is an attempt to classify a user according to
a classifier rule that resides in a rule sheet.
A ClassificationAgentImpl expects a ClassificationAdviceRequest as input and
returns ClassificationAdviceResults.
- Version:
- $Revision: 7$, $Date: 1/4/00 3:53:37 PM$
- Author:
- Steve Willcox
- See Also:
- Serialized Form
Method Summary |
AdviceResults |
advise(AdviceRequest adviceRequest)
Deprecated. This method makes recommendations based the AdviceRequest passed in. |
java.lang.String |
getName()
Deprecated. Gets the name of the agent. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassificationAgentImpl
public ClassificationAgentImpl()
- Deprecated.
advise
public AdviceResults advise(AdviceRequest adviceRequest)
throws java.lang.IllegalArgumentException,
PersonalizationAdvisorException,
AdviceRequestValidationException
- Deprecated.
- This method makes recommendations based the AdviceRequest passed in.
For the ClassificationAgent, the request class is:
ClassificationAdviceRequest
For the ClassificationAgent, the results class is:
ClassificationAdviceResults
- Specified by:
advise
in interface Agent
- Parameters:
adviceRequest
- The ClassificationAdviceRequest for which to make a
Classification recommendation.- Returns:
- AdviceResults The ClassificationAdviceResults which contain the
Classification recommendation for the request..
- Throws:
java.lang.IllegalArgumentException
- Thrown if the adviceRequest parameter
is null or an unsupported type.PersonalizationAdvisorException
- thrown on an error when
processing the request.AdviceRequestValidationException
- thrown on an error when
validating the request.
getName
public java.lang.String getName()
- Deprecated.
- Gets the name of the agent.
- Specified by:
getName
in interface Agent
- Returns:
- String The name of the agent.
Copyright © 2000 BEA Systems, Inc. All Rights Reserved