org.alicebot.server.core.targeting
Class TargetInputs

java.lang.Object
  extended by org.alicebot.server.core.util.StringTripleMatrix
      extended by org.alicebot.server.core.targeting.TargetInputs

public class TargetInputs
extends StringTripleMatrix

Represents the inputs that created a target.

Since:
4.1.5
Author:
Noel Bush

Constructor Summary
TargetInputs(java.lang.String text, java.lang.String that, java.lang.String topic)
          Creates a new TargetInputs and initializes it with its first text, that and topic values.
 
Method Summary
 java.util.LinkedList getTexts()
          Returns the input texts
 java.util.LinkedList getThats()
          Returns the input thats
 java.util.LinkedList getTopics()
          Returns the input topics
 
Methods inherited from class org.alicebot.server.core.util.StringTripleMatrix
add, addAll, contains, ensureSize, getAll, getFirsts, getSeconds, getThirds, iterator, listIterator, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TargetInputs

public TargetInputs(java.lang.String text,
                    java.lang.String that,
                    java.lang.String topic)
Creates a new TargetInputs and initializes it with its first text, that and topic values.

Parameters:
text - an input text
that - the value of the that predicate when the input was received
topic - the value of the topic predicate when the input was received
Method Detail

getTexts

public java.util.LinkedList getTexts()
Returns the input texts

Returns:
the input texts

getThats

public java.util.LinkedList getThats()
Returns the input thats

Returns:
the input thats

getTopics

public java.util.LinkedList getTopics()
Returns the input topics

Returns:
the input topics