org.apache.manifoldcf.crawler.repository
Class RepositoryConnection.ThrottleItem

java.lang.Object
  extended by org.apache.manifoldcf.crawler.repository.RepositoryConnection.ThrottleItem
Enclosing class:
RepositoryConnection

protected static class RepositoryConnection.ThrottleItem
extends java.lang.Object

Throttle item class. Each instance describes a particular throttle.


Field Summary
protected  java.lang.String description
          The description.
protected  java.lang.String match
          The regexp key.
protected  float value
          The throttle value
 
Constructor Summary
RepositoryConnection.ThrottleItem(java.lang.String match, java.lang.String description, float value)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare.
 java.lang.String getDescription()
          Get the description.
 java.lang.String getMatch()
          Get the match.
 float getValue()
          Get the throttle value.
 int hashCode()
          Get the hash code.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

match

protected java.lang.String match
The regexp key.


description

protected java.lang.String description
The description.


value

protected float value
The throttle value

Constructor Detail

RepositoryConnection.ThrottleItem

public RepositoryConnection.ThrottleItem(java.lang.String match,
                                         java.lang.String description,
                                         float value)
Constructor.

Method Detail

getMatch

public java.lang.String getMatch()
Get the match.


getDescription

public java.lang.String getDescription()
Get the description.


getValue

public float getValue()
Get the throttle value.


hashCode

public int hashCode()
Get the hash code.

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Compare.

Overrides:
equals in class java.lang.Object